Custom Blinds Shop
South Africa's first AI-transactable blinds, shutters and awnings catalogue with live ZAR pricing.
사용해야 할까요
품질 및 안전성
발견 사항 (1)
- LOWget_ar_visualizer_url에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"cb-shop": {
"url": "https://shop.customblinds.co.za/mcp"
}
}
}원격 엔드포인트
https://shop.customblinds.co.za/mcpstreamable-http할 수 있는 일
도구 목록
도구 (27)
🟢validate_measurement(product_id, width_mm, height_mm, mount_type, reveal_depth_mm, ...)
Check 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 80mm; Duo Roller 115mm), 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.
입력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "product_id from search_catalog or lookup_catalog"
},
"width_mm": {
"type": "number",
"description": "Width the customer will enter, in millimetres"
},
"height_mm": {
"type": "number",
"description": "Drop the customer will enter, in millimetres"
},
"mount_type": {
"type": "string",
"description": "inside (in the recess) or outside (face fix)"
},
"reveal_depth_mm": {
"type": "number",
"description": "Optional depth of the recess in mm, needed for inside mounts and no-drill"
},
"no_drill": {
"type": "boolean",
"description": "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."
},
"opening_width_mm": {
"type": "number",
"description": "Optional, face fix only: width of the opening itself"
},
"opening_drop_mm": {
"type": "number",
"description": "Optional, face fix only: drop of the opening itself"
},
"colour": {
"type": "string",
"description": "Optional exact colour name, checked for stock and width limits"
}
},
"required": [
"product_id",
"width_mm",
"height_mm"
]
}출력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"product_name": {
"type": "string"
},
"width_mm": {
"type": "number"
},
"height_mm": {
"type": "number"
},
"mount_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reveal_depth_mm": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"no_drill": {
"type": "boolean"
},
"ok": {
"type": "boolean"
},
"problems": {
"type": "array",
"items": {
"type": "string"
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"advice": {
"type": "array",
"items": {
"type": "string"
}
},
"production_width_mm": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"limits": {
"anyOf": [
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": true
},
{
"type": "null"
}
]
},
"inside_mount_min_reveal_mm": {
"type": "number"
},
"measure_guide_url": {
"type": "string"
},
"next_step": {
"type": "string"
}
},
"required": [
"product_id",
"width_mm",
"height_mm",
"ok",
"problems",
"warnings",
"advice",
"measure_guide_url",
"next_step"
],
"additionalProperties": true
}🟢get_price(product_id, colour, width_mm, height_mm, finish, ...)
Get an exact ZAR price using product_id from search_catalog or lookup_catalog, width_mm and height_mm. Prices include VAT and delivery. Colour selects the bamboo price tier where applicable. A price is not a stock reservation: validate the exact colour and mount with configure_product before creating a cart. Failure can return success:false or a JSON-RPC validation error.
입력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "product_id from search_catalog or lookup_catalog (e.g. roller-blockout)"
},
"colour": {
"type": "string",
"description": "Optional bamboo colour for colour-specific tier pricing"
},
"width_mm": {
"type": "number",
"description": "Width in millimetres (e.g. 1200)"
},
"height_mm": {
"type": "number",
"description": "Height/drop in millimetres (e.g. 1500)"
},
"finish": {
"type": "string",
"description": "Optional finish for aluminium products: Plain, Brushed, Woodgrain"
},
"quantity": {
"type": "number",
"description": "Number of blinds (default 1)"
},
"province": {
"type": "string",
"description": "Optional. Customer's South African province or city. Garden Route locations get Duncan's direct contact; other locations get the online shop contact."
},
"no_drill": {
"type": "boolean",
"description": "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."
}
},
"required": [
"product_id",
"width_mm",
"height_mm"
]
}출력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"product_name": {
"type": "string"
},
"width_mm": {
"type": "number"
},
"height_mm": {
"type": "number"
},
"finish": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"quantity": {
"type": "number"
},
"unit_price_zar": {
"type": "number"
},
"total_price_zar": {
"type": "number"
},
"currency": {
"type": "string",
"const": "ZAR"
},
"vat_included": {
"type": "boolean"
},
"lead_time": {
"type": "string"
},
"delivery": {
"type": "string"
},
"limits": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": true
},
"contact": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"whatsapp": {
"type": "string"
},
"email": {
"type": "string"
},
"note": {
"type": "string"
}
},
"required": [],
"additionalProperties": true
},
"next_step": {
"type": "string"
},
"minimum_charge_applied": {
"type": "boolean"
},
"effective_width_mm": {
"type": "number"
},
"effective_height_mm": {
"type": "number"
}
},
"required": [
"product_id",
"width_mm",
"height_mm",
"quantity",
"unit_price_zar",
"total_price_zar",
"currency",
"vat_included"
],
"additionalProperties": true
}🟢configure_product(product_id, width_mm, height_mm, colour, mount_type, ...)
Lock 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).
입력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "product_id from search_catalog or lookup_catalog"
},
"width_mm": {
"type": "number",
"description": "Width in millimetres"
},
"height_mm": {
"type": "number",
"description": "Height/drop in millimetres"
},
"colour": {
"type": "string",
"description": "Colour name (must match available colours)"
},
"mount_type": {
"type": "string",
"minLength": 1,
"description": "Use inside (recess) or outside (face-fix); handler requires a nonempty value"
},
"finish": {
"type": "string",
"description": "Optional finish for aluminium venetians"
},
"quantity": {
"type": "number",
"description": "Number of blinds (default 1)"
},
"province": {
"type": "string",
"description": "Optional. Customer's South African province or city. Garden Route locations get Duncan's direct contact; other locations get the online shop contact."
},
"no_drill": {
"type": "boolean",
"description": "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."
}
},
"required": [
"product_id",
"width_mm",
"height_mm",
"colour",
"mount_type"
]
}출력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"product_name": {
"type": "string"
},
"width_mm": {
"type": "number"
},
"height_mm": {
"type": "number"
},
"finish": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"quantity": {
"type": "number"
},
"unit_price_zar": {
"type": "number"
},
"total_price_zar": {
"type": "number"
},
"currency": {
"type": "string",
"const": "ZAR"
},
"vat_included": {
"type": "boolean"
},
"lead_time": {
"type": "string"
},
"delivery": {
"type": "string"
},
"limits": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": true
},
"contact": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"whatsapp": {
"type": "string"
},
"email": {
"type": "string"
},
"note": {
"type": "string"
}
},
"required": [],
"additionalProperties": true
},
"next_step": {
"type": "string"
},
"minimum_charge_applied": {
"type": "boolean"
},
"effective_width_mm": {
"type": "number"
},
"effective_height_mm": {
"type": "number"
},
"colour": {
"type": "string"
},
"mount_type": {
"type": "string"
},
"price_zar": {
"type": "number"
},
"in_stock": {
"type": "boolean"
},
"summary": {
"type": "string"
}
},
"required": [
"product_id",
"width_mm",
"height_mm",
"colour",
"mount_type",
"quantity",
"unit_price_zar",
"total_price_zar",
"currency"
],
"additionalProperties": true
}🟢search_catalog(query)
Preferred free-text discovery. Returns results containing product_id, name, category, description, product_url and colour_count_in_stock, plus total and currency. For structured filters use lookup_catalog. Pass product_id to get_product or get_price.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text query, e.g. 'blockout' or 'venetian'"
}
}
}출력 스키마
{
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"name": {
"type": "string"
},
"category": {
"type": "string"
},
"description": {
"type": "string"
},
"product_url": {
"type": "string"
},
"colour_count_in_stock": {
"type": "number"
}
},
"required": [
"product_id",
"name",
"category",
"description",
"product_url",
"colour_count_in_stock"
],
"additionalProperties": true
}
},
"total": {
"type": "number"
},
"currency": {
"type": "string",
"const": "ZAR"
}
},
"required": [
"results",
"total",
"currency"
],
"additionalProperties": true
}🟢lookup_catalog(category, colour, max_width_mm, max_height_mm)
Preferred structured discovery. Filter by category, partial colour name or required supported width/drop in mm. Returns results containing product_id, name, category and product_url, plus total. Width/drop filters check separate maximums, not every combination; confirm the exact pair with get_price.
입력 스키마
{
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "roller | venetian | honeycomb | vertical | outdoor"
},
"colour": {
"type": "string"
},
"max_width_mm": {
"type": "number"
},
"max_height_mm": {
"type": "number"
}
}
}출력 스키마
{
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"name": {
"type": "string"
},
"category": {
"type": "string"
},
"product_url": {
"type": "string"
}
},
"required": [
"product_id",
"name",
"category",
"product_url"
],
"additionalProperties": true
}
},
"total": {
"type": "number"
}
},
"required": [
"results",
"total"
],
"additionalProperties": true
}🟢get_product(product_id)
Fetch complete details for one product by id (e.g. roller-blockout, venetian-25mm-aluwood). Returns all available colours with in-stock status, materials, features, and maximum supported dimensions. Use before configure_product to confirm a colour exists and is in stock before committing. Duo Roller: colour is one blockout and one sheer written "Blockout + Sheer" (get_product returns duo_fabrics).
입력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string"
}
},
"required": [
"product_id"
]
}출력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"name": {
"type": "string"
},
"category": {
"type": "string"
},
"description": {
"type": "string"
},
"features": {
"type": "array",
"items": {
"type": "string"
}
},
"materials": {
"type": "array",
"items": {
"type": "string"
}
},
"installation_type": {
"type": "string"
},
"suitable_for": {
"type": "array",
"items": {
"type": "string"
}
},
"colours": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"hex": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"material": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finish": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"in_stock": {
"type": "boolean"
},
"expected_restock": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"name",
"in_stock"
],
"additionalProperties": true
}
},
"colour_count_in_stock": {
"type": "number"
},
"starting_price_zar": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"product_url": {
"type": "string"
},
"schema_url": {
"type": "string"
},
"max_width_mm": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"max_height_mm": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"size_limits": {
"anyOf": [
{
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"unit": {
"const": "mm",
"type": "string"
},
"max_width_mm": {
"type": "number"
},
"max_height_mm": {
"type": "number"
},
"minimum_charge_width_mm": {
"type": "number"
},
"minimum_charge_height_mm": {
"type": "number"
},
"minimum_order_width_mm": {
"type": "number"
},
"minimum_order_height_mm": {
"type": "number"
},
"combination_dependent": {
"type": "boolean"
},
"availability_rule": {
"type": "string"
},
"width_drop_frontier": {
"type": "array",
"items": {
"type": "object",
"properties": {
"width_band_max_mm": {
"type": "number"
},
"max_drop_mm": {
"type": "number"
}
},
"required": [
"width_band_max_mm",
"max_drop_mm"
],
"additionalProperties": true
}
},
"measurement_note": {
"type": "string"
},
"validation_note": {
"type": "string"
}
},
"required": [
"product_id",
"unit",
"max_width_mm",
"max_height_mm",
"minimum_charge_width_mm",
"minimum_charge_height_mm",
"combination_dependent",
"availability_rule",
"width_drop_frontier",
"measurement_note",
"validation_note"
],
"additionalProperties": true
},
{
"type": "null"
}
]
}
},
"required": [
"product_id",
"name",
"category",
"colours",
"product_url"
],
"additionalProperties": true
}🟡create_quote_link(items)
Make a shareable quote page for the customer, with no side effects: no order, no email, no payment link and no stock hold. Each blind is priced and stock-checked now; the page shows the lines and total and its button fills the customer's cart and opens checkout, where prices are checked again. Valid 7 days. Use this when the customer wants to review, share or pay later, instead of create_checkout.
입력 스키마
{
"type": "object",
"properties": {
"items": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "product_id returned by search_catalog or lookup_catalog"
},
"product_name": {
"type": "string",
"description": "Optional; server resolves the catalogue name"
},
"width_mm": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Actual ordered width in millimetres"
},
"height_mm": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Actual ordered drop in millimetres"
},
"colour": {
"type": "string",
"minLength": 1,
"description": "Exact available colour; validate with configure_product before adding"
},
"mount_type": {
"type": "string",
"minLength": 1,
"description": "Use inside for inside mount or outside for face fix"
},
"finish": {
"type": "string",
"description": "Optional pricing finish for aluminium Venetians"
},
"quantity": {
"type": "number",
"description": "Number of blinds; defaults to 1"
},
"unit_price_zar": {
"type": "number",
"description": "Optional, ignored: server recalculates all prices"
},
"total_price_zar": {
"type": "number",
"description": "Optional, ignored: server recalculates all totals"
},
"no_drill": {
"type": "boolean",
"description": "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."
},
"control_side": {
"type": "string",
"enum": [
"left",
"right"
],
"description": "Chain or control side, as the customer faces the window. Defaults to right."
}
},
"required": [
"product_id",
"width_mm",
"height_mm",
"colour",
"mount_type"
]
},
"description": "Configured blinds; validate colours with configure_product first"
}
},
"required": [
"items"
]
}출력 스키마
{
"type": "object",
"properties": {
"quote_id": {
"type": "string"
},
"quote_url": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"product_name": {
"type": "string"
},
"width_mm": {
"type": "number"
},
"height_mm": {
"type": "number"
},
"colour": {
"type": "string"
},
"mount_type": {
"type": "string"
},
"control_side": {
"type": "string"
},
"quantity": {
"type": "number"
},
"unit_price_zar": {
"type": "number"
},
"total_price_zar": {
"type": "number"
}
},
"required": [
"product_id",
"width_mm",
"height_mm",
"quantity",
"unit_price_zar",
"total_price_zar"
],
"additionalProperties": true
}
},
"item_count": {
"type": "number"
},
"total_zar": {
"type": "number"
},
"currency": {
"type": "string",
"const": "ZAR"
},
"vat_included": {
"type": "boolean"
},
"delivery": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"side_effects": {
"type": "string",
"const": "none"
},
"note": {
"type": "string"
}
},
"required": [
"quote_id",
"quote_url",
"items",
"item_count",
"total_zar",
"currency",
"expires_at",
"side_effects",
"note"
],
"additionalProperties": true
}🟡create_cart(items, customer)
Start the open UCP purchase flow, no auth needed. Creates a cart session and returns a cart_id (24-hour TTL). Optionally seed with pre-configured blind items and customer details. Next step: update_cart to add items, then create_checkout → complete_checkout to mint the payment link. Duo Roller: colour is one blockout and one sheer written "Blockout + Sheer" (get_product returns duo_fabrics).
입력 스키마
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "product_id returned by search_catalog or lookup_catalog"
},
"product_name": {
"type": "string",
"description": "Optional; server resolves the catalogue name"
},
"width_mm": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Actual ordered width in millimetres"
},
"height_mm": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Actual ordered drop in millimetres"
},
"colour": {
"type": "string",
"minLength": 1,
"description": "Exact available colour; validate with configure_product before adding"
},
"mount_type": {
"type": "string",
"minLength": 1,
"description": "Use inside for inside mount or outside for face fix"
},
"finish": {
"type": "string",
"description": "Optional pricing finish for aluminium Venetians"
},
"quantity": {
"type": "number",
"description": "Number of blinds; defaults to 1"
},
"unit_price_zar": {
"type": "number",
"description": "Optional, ignored: server recalculates all prices"
},
"total_price_zar": {
"type": "number",
"description": "Optional, ignored: server recalculates all totals"
},
"no_drill": {
"type": "boolean",
"description": "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."
}
},
"required": [
"product_id",
"width_mm",
"height_mm",
"colour",
"mount_type"
]
},
"description": "Optional configured items; all submitted prices are ignored"
},
"customer": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Real customer name, checked before checkout creation"
},
"email": {
"type": "string",
"description": "Real customer email, checked before checkout creation"
},
"phone": {
"type": "string",
"description": "South African phone number, checked before checkout creation"
},
"address": {
"type": "string"
},
"city": {
"type": "string"
}
}
}
}
}출력 스키마
{
"type": "object",
"properties": {
"cart_id": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"product_name": {
"type": "string"
},
"width_mm": {
"type": "number"
},
"height_mm": {
"type": "number"
},
"colour": {
"type": "string"
},
"mount_type": {
"type": "string"
},
"finish": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"quantity": {
"type": "number"
},
"unit_price_zar": {
"type": "number"
},
"total_price_zar": {
"type": "number"
}
},
"required": [
"product_id",
"width_mm",
"height_mm",
"quantity",
"unit_price_zar",
"total_price_zar"
],
"additionalProperties": true
}
},
"item_count": {
"type": "number"
},
"total_zar": {
"type": "number"
},
"currency": {
"type": "string",
"const": "ZAR"
},
"customer": {
"anyOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": true
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"expires_at": {
"type": "string"
}
},
"required": [
"cart_id",
"items",
"item_count",
"total_zar",
"currency",
"customer",
"created_at",
"updated_at",
"expires_at"
],
"additionalProperties": true
}🟢get_cart(cart_id)
Retrieve live cart state by cart_id: full item list, calculated totals in ZAR, and any customer details stored so far. Call after update_cart to confirm changes are correct before proceeding to create_checkout. Cart expires after 24 hours of inactivity.
입력 스키마
{
"type": "object",
"properties": {
"cart_id": {
"type": "string"
}
},
"required": [
"cart_id"
]
}출력 스키마
{
"type": "object",
"properties": {
"cart_id": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"product_name": {
"type": "string"
},
"width_mm": {
"type": "number"
},
"height_mm": {
"type": "number"
},
"colour": {
"type": "string"
},
"mount_type": {
"type": "string"
},
"finish": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"quantity": {
"type": "number"
},
"unit_price_zar": {
"type": "number"
},
"total_price_zar": {
"type": "number"
}
},
"required": [
"product_id",
"width_mm",
"height_mm",
"quantity",
"unit_price_zar",
"total_price_zar"
],
"additionalProperties": true
}
},
"item_count": {
"type": "number"
},
"total_zar": {
"type": "number"
},
"currency": {
"type": "string",
"const": "ZAR"
},
"customer": {
"anyOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": true
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"expires_at": {
"type": "string"
}
},
"required": [
"cart_id",
"items",
"item_count",
"total_zar",
"currency",
"customer",
"created_at",
"updated_at",
"expires_at"
],
"additionalProperties": true
}🔴update_cart(cart_id, op, items, indices, customer)
Modify an open cart before checkout. op: 'add' appends items, 'remove' drops items by 0-based index, 'set' replaces the full item list, 'clear' empties the cart. Merges customer details (name, email, phone) via the customer field. Call get_cart afterwards to confirm. Cannot modify a cart that already has a checkout in progress.
입력 스키마
{
"type": "object",
"properties": {
"cart_id": {
"type": "string"
},
"op": {
"type": "string",
"enum": [
"add",
"remove",
"set",
"clear"
],
"default": "set"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "product_id returned by search_catalog or lookup_catalog"
},
"product_name": {
"type": "string",
"description": "Optional; server resolves the catalogue name"
},
"width_mm": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Actual ordered width in millimetres"
},
"height_mm": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Actual ordered drop in millimetres"
},
"colour": {
"type": "string",
"minLength": 1,
"description": "Exact available colour; validate with configure_product before adding"
},
"mount_type": {
"type": "string",
"minLength": 1,
"description": "Use inside for inside mount or outside for face fix"
},
"finish": {
"type": "string",
"description": "Optional pricing finish for aluminium Venetians"
},
"quantity": {
"type": "number",
"description": "Number of blinds; defaults to 1"
},
"unit_price_zar": {
"type": "number",
"description": "Optional, ignored: server recalculates all prices"
},
"total_price_zar": {
"type": "number",
"description": "Optional, ignored: server recalculates all totals"
},
"no_drill": {
"type": "boolean",
"description": "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."
}
},
"required": [
"product_id",
"width_mm",
"height_mm",
"colour",
"mount_type"
]
}
},
"indices": {
"type": "array",
"items": {
"type": "number"
},
"description": "Item indices to remove (0-based) when op='remove'"
},
"customer": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Real customer name, checked before checkout creation"
},
"email": {
"type": "string",
"description": "Real customer email, checked before checkout creation"
},
"phone": {
"type": "string",
"description": "South African phone number, checked before checkout creation"
},
"address": {
"type": "string"
},
"city": {
"type": "string"
}
}
}
},
"required": [
"cart_id"
]
}출력 스키마
{
"type": "object",
"properties": {
"cart_id": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"product_name": {
"type": "string"
},
"width_mm": {
"type": "number"
},
"height_mm": {
"type": "number"
},
"colour": {
"type": "string"
},
"mount_type": {
"type": "string"
},
"finish": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"quantity": {
"type": "number"
},
"unit_price_zar": {
"type": "number"
},
"total_price_zar": {
"type": "number"
}
},
"required": [
"product_id",
"width_mm",
"height_mm",
"quantity",
"unit_price_zar",
"total_price_zar"
],
"additionalProperties": true
}
},
"item_count": {
"type": "number"
},
"total_zar": {
"type": "number"
},
"currency": {
"type": "string",
"const": "ZAR"
},
"customer": {
"anyOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": true
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"expires_at": {
"type": "string"
}
},
"required": [
"cart_id",
"items",
"item_count",
"total_zar",
"currency",
"customer",
"created_at",
"updated_at",
"expires_at"
],
"additionalProperties": true
}🔴cancel_cart(cart_id)
Permanently delete a cart by cart_id. Use when the customer abandons the session or wants to start over. Has no effect on any checkout or paid order already created from this cart. Irreversible, create a new cart to restart.
입력 스키마
{
"type": "object",
"properties": {
"cart_id": {
"type": "string"
}
},
"required": [
"cart_id"
]
}출력 스키마
{
"type": "object",
"properties": {
"cancelled": {
"type": "boolean"
},
"cart_id": {
"type": "string"
}
},
"required": [
"cancelled",
"cart_id"
],
"additionalProperties": true
}🔴create_checkout(cart_id, items, customer, payment_method)
Phase 1 of 2 in the purchase flow. Convert a cart (or inline items + customer) into a checkout. Customer name, email, and phone are required. Returns checkout_id. No payment link is minted yet, call complete_checkout for that. Use update_checkout to correct customer details before finalising.
입력 스키마
{
"type": "object",
"properties": {
"cart_id": {
"type": "string",
"description": "Either cart_id or items required"
},
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "product_id returned by search_catalog or lookup_catalog"
},
"product_name": {
"type": "string",
"description": "Optional; server resolves the catalogue name"
},
"width_mm": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Actual ordered width in millimetres"
},
"height_mm": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Actual ordered drop in millimetres"
},
"colour": {
"type": "string",
"minLength": 1,
"description": "Exact available colour; validate with configure_product before adding"
},
"mount_type": {
"type": "string",
"minLength": 1,
"description": "Use inside for inside mount or outside for face fix"
},
"finish": {
"type": "string",
"description": "Optional pricing finish for aluminium Venetians"
},
"quantity": {
"type": "number",
"description": "Number of blinds; defaults to 1"
},
"unit_price_zar": {
"type": "number",
"description": "Optional, ignored: server recalculates all prices"
},
"total_price_zar": {
"type": "number",
"description": "Optional, ignored: server recalculates all totals"
},
"no_drill": {
"type": "boolean",
"description": "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."
}
},
"required": [
"product_id",
"width_mm",
"height_mm",
"colour",
"mount_type"
]
}
},
"customer": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Real customer name, checked before checkout creation"
},
"email": {
"type": "string",
"description": "Real customer email, checked before checkout creation"
},
"phone": {
"type": "string",
"description": "South African phone number, checked before checkout creation"
},
"address": {
"type": "string"
},
"city": {
"type": "string"
}
}
},
"payment_method": {
"type": "string",
"enum": [
"yoco",
"ozow"
],
"description": "Default 'yoco'"
}
},
"anyOf": [
{
"required": [
"cart_id"
]
},
{
"required": [
"items",
"customer"
],
"properties": {
"customer": {
"required": [
"name",
"email",
"phone"
]
}
}
}
]
}출력 스키마
{
"type": "object",
"properties": {
"checkout_id": {
"type": "string"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"payment_method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"items": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"product_slug": {
"type": "string"
},
"product_name": {
"type": "string"
},
"width_mm": {
"type": "number"
},
"drop_mm": {
"type": "number"
},
"quantity": {
"type": "number"
},
"colour": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mount_type": {
"type": "string"
},
"unit_price": {
"type": "number"
},
"total_price": {
"type": "number"
}
},
"required": [],
"additionalProperties": true
}
},
{
"type": "null"
}
]
},
"item_count": {
"type": "number"
},
"total_zar": {
"type": "number"
},
"currency": {
"type": "string",
"const": "ZAR"
},
"customer": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": true
},
"payment_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provider_reference": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"next_step": {
"type": "string"
},
"message": {
"type": "string"
},
"ap2": {
"type": "object",
"properties": {
"merchant_authorization": {
"type": "string"
}
},
"required": [
"merchant_authorization"
],
"additionalProperties": true
}
},
"required": [
"checkout_id",
"status",
"total_zar",
"currency"
],
"additionalProperties": true
}🟢get_checkout(checkout_id)
Read checkout by checkout_id. Returns persisted order status, payment_status, payment_method, items, customer, total_zar and currency. Initial order status is started, not pending. This tool does not return a previously generated payment_url: retain the complete_checkout response in caller context.
입력 스키마
{
"type": "object",
"properties": {
"checkout_id": {
"type": "string"
}
},
"required": [
"checkout_id"
]
}출력 스키마
{
"type": "object",
"properties": {
"checkout_id": {
"type": "string"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"payment_method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"items": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"product_slug": {
"type": "string"
},
"product_name": {
"type": "string"
},
"width_mm": {
"type": "number"
},
"drop_mm": {
"type": "number"
},
"quantity": {
"type": "number"
},
"colour": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mount_type": {
"type": "string"
},
"unit_price": {
"type": "number"
},
"total_price": {
"type": "number"
}
},
"required": [],
"additionalProperties": true
}
},
{
"type": "null"
}
]
},
"item_count": {
"type": "number"
},
"total_zar": {
"type": "number"
},
"currency": {
"type": "string",
"const": "ZAR"
},
"customer": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": true
},
"payment_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provider_reference": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"next_step": {
"type": "string"
},
"message": {
"type": "string"
},
"ap2": {
"type": "object",
"properties": {
"merchant_authorization": {
"type": "string"
}
},
"required": [
"merchant_authorization"
],
"additionalProperties": true
}
},
"required": [
"checkout_id",
"status",
"total_zar",
"currency"
],
"additionalProperties": true
}🔴update_checkout(checkout_id, customer, payment_method)
Update customer details or payment_method only before payment-link generation. Paid, cancelled and payment-in-progress checkouts are rejected. Concurrent state changes are detected; retrieve the latest status before retrying.
입력 스키마
{
"type": "object",
"properties": {
"checkout_id": {
"type": "string"
},
"customer": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Real customer name, checked before checkout creation"
},
"email": {
"type": "string",
"description": "Real customer email, checked before checkout creation"
},
"phone": {
"type": "string",
"description": "South African phone number, checked before checkout creation"
},
"address": {
"type": "string"
},
"city": {
"type": "string"
}
}
},
"payment_method": {
"type": "string",
"enum": [
"yoco",
"ozow"
]
}
},
"required": [
"checkout_id"
]
}출력 스키마
{
"type": "object",
"properties": {
"checkout_id": {
"type": "string"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"payment_method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"items": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"product_slug": {
"type": "string"
},
"product_name": {
"type": "string"
},
"width_mm": {
"type": "number"
},
"drop_mm": {
"type": "number"
},
"quantity": {
"type": "number"
},
"colour": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mount_type": {
"type": "string"
},
"unit_price": {
"type": "number"
},
"total_price": {
"type": "number"
}
},
"required": [],
"additionalProperties": true
}
},
{
"type": "null"
}
]
},
"item_count": {
"type": "number"
},
"total_zar": {
"type": "number"
},
"currency": {
"type": "string",
"const": "ZAR"
},
"customer": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": true
},
"payment_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provider_reference": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"next_step": {
"type": "string"
},
"message": {
"type": "string"
},
"ap2": {
"type": "object",
"properties": {
"merchant_authorization": {
"type": "string"
}
},
"required": [
"merchant_authorization"
],
"additionalProperties": true
}
},
"required": [
"checkout_id",
"status",
"total_zar",
"currency"
],
"additionalProperties": true
}🔴complete_checkout(checkout_id, payment_method)
Generate a Yoco card or Ozow instant-EFT payment link; this does NOT complete payment. Rejects cancelled checkouts and rechecks stock and totals first. An atomic claim prevents competing gateway calls. Returns payment_url or null plus status and message. Retain a successful URL: repeat calls return payment_pending with no URL. Gateway failures raise an error, send no payment-link email and require team review rather than an automatic retry. Poll get_order with customer_email for payment status.
입력 스키마
{
"type": "object",
"properties": {
"checkout_id": {
"type": "string"
},
"payment_method": {
"type": "string",
"enum": [
"yoco",
"ozow"
],
"description": "Overrides any value set in create_checkout/update_checkout"
}
},
"required": [
"checkout_id"
]
}출력 스키마
{
"type": "object",
"properties": {
"checkout_id": {
"type": "string"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"payment_method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"items": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"product_slug": {
"type": "string"
},
"product_name": {
"type": "string"
},
"width_mm": {
"type": "number"
},
"drop_mm": {
"type": "number"
},
"quantity": {
"type": "number"
},
"colour": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mount_type": {
"type": "string"
},
"unit_price": {
"type": "number"
},
"total_price": {
"type": "number"
}
},
"required": [],
"additionalProperties": true
}
},
{
"type": "null"
}
]
},
"item_count": {
"type": "number"
},
"total_zar": {
"type": "number"
},
"currency": {
"type": "string",
"const": "ZAR"
},
"customer": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [],
"additionalProperties": true
},
"payment_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provider_reference": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"next_step": {
"type": "string"
},
"message": {
"type": "string"
},
"ap2": {
"type": "object",
"properties": {
"merchant_authorization": {
"type": "string"
}
},
"required": [
"merchant_authorization"
],
"additionalProperties": true
}
},
"required": [
"checkout_id",
"status",
"payment_url",
"message"
],
"additionalProperties": true,
"allOf": [
{
"if": {
"properties": {
"payment_url": {
"type": "string"
}
},
"required": [
"payment_url"
]
},
"then": {
"required": [
"total_zar",
"currency",
"payment_method"
]
}
}
]
}🔴cancel_checkout(checkout_id)
Abort an unpaid checkout and release its checkout_id. Use if the customer changes their mind after create_checkout but before completing payment. Has no effect on orders already confirmed by webhook. To restart, create a new cart and checkout from scratch.
입력 스키마
{
"type": "object",
"properties": {
"checkout_id": {
"type": "string"
}
},
"required": [
"checkout_id"
]
}출력 스키마
{
"type": "object",
"properties": {
"checkout_id": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"checkout_id",
"status"
],
"additionalProperties": true
}🟢get_order(order_id, customer_email)
Retrieve a confirmed order's status, items, and payment details by order_id. customer_email is required as soft-auth and must exactly match the order record, prevents arbitrary order lookups. Returns payment status (paid | pending | failed), production status, and dispatch date once available.
입력 스키마
{
"type": "object",
"properties": {
"order_id": {
"type": "string"
},
"customer_email": {
"type": "string"
}
},
"required": [
"order_id",
"customer_email"
]
}출력 스키마
{
"type": "object",
"properties": {
"order_id": {
"type": "string"
},
"order_reference": {
"type": "string"
},
"payment_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"order_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"total_zar": {
"type": "number"
},
"currency": {
"type": "string",
"const": "ZAR"
},
"paid_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"items": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"product_slug": {
"type": "string"
},
"product_name": {
"type": "string"
},
"width_mm": {
"type": "number"
},
"drop_mm": {
"type": "number"
},
"quantity": {
"type": "number"
},
"colour": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mount_type": {
"type": "string"
},
"unit_price": {
"type": "number"
},
"total_price": {
"type": "number"
}
},
"required": [],
"additionalProperties": true
}
},
{
"type": "null"
}
]
},
"lead_time": {
"type": "string"
}
},
"required": [
"order_id",
"payment_status",
"total_zar",
"currency"
],
"additionalProperties": true
}🟢check_colour_stock(product_id, colour_name)
Verify whether a specific colour is available before configure_product. Returns in_stock boolean, expected_restock_date if out of stock, and up to 5 alternative in-stock colours ordered by similarity. Call this when a customer requests a named colour or when you want to prevent a configure_product failure due to an out-of-stock selection. Duo Roller: colour is one blockout and one sheer written "Blockout + Sheer" (get_product returns duo_fabrics).
입력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"colour_name": {
"type": "string"
}
},
"required": [
"product_id",
"colour_name"
]
}출력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"found": {
"type": "boolean"
},
"colour": {
"type": "string"
},
"in_stock": {
"type": "boolean"
},
"expected_restock": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"exact_colour_match": {
"type": "boolean"
},
"requires_exact_colour_selection": {
"type": "boolean"
},
"message": {
"type": "string"
},
"matching_colours": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"hex": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"material": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finish": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"in_stock": {
"type": "boolean"
},
"expected_restock": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"name",
"in_stock"
],
"additionalProperties": true
}
},
"available_colours": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"in_stock"
],
"additionalProperties": true
}⚪request_swatch(customer_name, customer_email, customer_phone, product_interest, suburb, ...)
Log up to 5 colour codes against an EXISTING order for the team (order_ref required; without it the tool returns status order_required and logs nothing). Sample swatches, not off-cuts: on orders over R8,000 the customer can ask on WhatsApp for swatches in the colours they like, for the product they are ordering; if nothing suits, full refund with no fees. Never quote a sample price or courier cost.
입력 스키마
{
"type": "object",
"properties": {
"customer_name": {
"type": "string",
"description": "Customer's full name."
},
"customer_email": {
"type": "string",
"description": "Customer's email address."
},
"customer_phone": {
"type": "string",
"description": "Used as WhatsApp number"
},
"product_interest": {
"type": "string",
"description": "e.g. 'Roller Blockout' or 'Honeycomb'"
},
"suburb": {
"type": "string",
"description": "Optional delivery suburb"
},
"swatch_codes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional specific colour codes (max 5)"
},
"order_ref": {
"type": "string",
"description": "The order reference the swatches ship with. Required."
}
},
"required": [
"customer_name",
"customer_email",
"customer_phone",
"product_interest",
"order_ref"
]
}출력 스키마
{
"type": "object",
"properties": {
"request_id": {
"type": "number"
},
"order_ref": {
"type": "string"
},
"status": {
"type": "string"
},
"policy": {
"type": "string"
},
"next_step": {
"type": "string"
},
"estimated_delivery_days": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
},
"required": [
"min",
"max"
],
"additionalProperties": true
},
"swatch_count": {
"type": "number"
},
"message": {
"type": "string"
}
},
"required": [
"status",
"message"
],
"additionalProperties": true
}🟢get_payment_methods(order_total_zar)
List available payment processors and their capabilities. Returns Yoco (card, immediate) and Ozow (instant EFT via South African bank account). Call when the customer asks 'how can I pay?' or before presenting options. The result informs the payment_method field in create_checkout and complete_checkout.
입력 스키마
{
"type": "object",
"properties": {
"order_total_zar": {
"type": "number",
"description": "Optional. For future per-handler limit filtering."
}
}
}출력 스키마
{
"type": "object",
"properties": {
"default_currency": {
"type": "string",
"const": "ZAR"
},
"handlers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"supports": {
"type": "array",
"items": {
"type": "string"
}
},
"note": {
"type": "string"
}
},
"required": [
"id",
"name",
"supports"
],
"additionalProperties": true
}
},
"note": {
"type": "string"
}
},
"required": [
"default_currency",
"handlers",
"note"
],
"additionalProperties": true
}🟢get_whatsapp_handoff(customer_name, product_context, message, location)
Generate a pre-filled WhatsApp deep link to hand the customer off to the right contact. Garden Route locations (Knysna, Plett, George, Sedgefield, etc.) route to Duncan Kane on WhatsApp (+27795235407) for a free in-home consultation. Awnings, shutters, shadeports and Ziptrak, named in product_context, route to Duncan Kane from anywhere in South Africa. Everything else routes to the shop WhatsApp (+27760228410), WhatsApp only, no voice calls. Use when the customer prefers human assistance or when self-serve checkout isn't appropriate.
입력 스키마
{
"type": "object",
"properties": {
"customer_name": {
"type": "string"
},
"product_context": {
"type": "string",
"description": "e.g. 'roller blockout for bedroom'. Awnings, shutters, shadeports or Ziptrak here route to Duncan."
},
"message": {
"type": "string",
"description": "Optional additional message to prefill"
},
"location": {
"type": "string",
"description": "City/suburb. Garden Route locations route to Duncan."
}
}
}출력 스키마
{
"type": "object",
"properties": {
"whatsapp_url": {
"type": "string"
},
"recipient": {
"type": "string"
},
"recipient_phone": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"whatsapp_url",
"recipient",
"recipient_phone",
"reason"
],
"additionalProperties": true
}🟢get_product_recommendation(primary_concern, room, location, max_budget_zar, aesthetic)
Translate a customer's primary concern into a product recommendation. primary_concern must be one of: blockout, heat, glare, moisture, privacy, security, automation. Optionally narrow by room (bedroom, lounge, etc.), location, budget, and aesthetic. Returns a recommended product_id with rationale, pass it to get_price or configure_product next. For security there is no shop product: it returns a hand-off to our security shutters page (installed in the Garden Route only).
입력 스키마
{
"type": "object",
"properties": {
"primary_concern": {
"type": "string",
"enum": [
"blockout",
"heat",
"glare",
"moisture",
"privacy",
"security",
"automation"
]
},
"room": {
"type": "string"
},
"location": {
"type": "string"
},
"max_budget_zar": {
"type": "number"
},
"aesthetic": {
"type": "string"
}
},
"required": [
"primary_concern"
]
}출력 스키마
{
"type": "object",
"properties": {
"recommendations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"product_name": {
"type": "string"
},
"reason": {
"type": "string"
},
"starting_price_zar_for_1m_x_1m": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string",
"const": "ZAR"
},
"shop_url": {
"type": "string"
}
},
"required": [
"product_id",
"product_name",
"reason",
"starting_price_zar_for_1m_x_1m",
"currency",
"shop_url"
],
"additionalProperties": true
}
},
"notes": {
"type": "string"
},
"handoff": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"product_family": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"url",
"product_family",
"reason"
],
"additionalProperties": true
}
},
"required": [
"recommendations"
],
"additionalProperties": true
}🟢get_ar_visualizer_url(product_id, mode)
Returns the link to the Custom Blinds Visualiser (See it before you buy it), pre-selected to the product when it is supported. The customer adds a photo of their window (any angle), picks a blind and colour, and previews it on their own window. A preview of colour and style, not a measuring tool. No measuring or marking. A name and WhatsApp number are needed; 2 free previews per customer. Also returns the measuring guide (mode 'measure' makes it the main url) and the list of supported products. A customer still unsure of sizes can order with best guess sizes, receive a free tape measure and confirm before production starts. Use when a customer wants to see how a blind or colour will look before ordering, or is unsure how to measure. If you already have the customer's photo, use start_visualiser_preview to show the blind in this chat instead.
입력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "Optional. Pre-select a product in the visualiser (e.g. roller-blockout, double-roller-zebra, outdoor-blinds)."
},
"mode": {
"type": "string",
"enum": [
"measure",
"visualize",
"both"
],
"description": "Which link goes in url: visualize (own-window visualiser), measure (measuring guide) or both (visualiser, the default). Both links are always returned."
}
}
}출력 스키마
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"visualiser_url": {
"type": "string"
},
"measure_url": {
"type": "string"
},
"supported_products": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"label": {
"type": "string"
}
},
"required": [
"product_id",
"label"
],
"additionalProperties": true
}
},
"note": {
"type": "string"
},
"product_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"url",
"visualiser_url",
"measure_url",
"note"
],
"additionalProperties": true
}🔴start_visualiser_preview(product_id, colour, customer_name, whatsapp, image_url, ...)
Show the customer a blind on THEIR OWN window or patio, in this chat. Pass the photo they gave you (image_url https, or image_base64; for outdoor blinds, the patio opening taken straight on), the product_id and an exact in-stock colour name (get_product), and the customer's name and South African WhatsApp number (required: the team follows up on WhatsApp, and each number gets 2 free previews). Indoor blinds, and the outdoor screen, clear PVC and canvas blinds (not outdoor bamboo). Finds the windows or patio openings (20 to 45 s) and returns job_id; then call get_visualiser_preview. A preview of colour and style, not a measuring tool.
입력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "Visualiser blind, e.g. roller-blockout, duo-roller, venetian-25mm-aluminium, honeycomb-blockout, outdoor-blinds, outdoor-blinds-pvc, outdoor-blinds-canvas"
},
"colour": {
"type": "string",
"description": "Exact in-stock colour name from get_product (for a Duo Roller, one of its listed colours)"
},
"customer_name": {
"type": "string"
},
"whatsapp": {
"type": "string",
"description": "Customer's South African WhatsApp number"
},
"image_url": {
"type": "string",
"description": "https URL of the customer's window or patio photo (JPEG, PNG or WebP, under 6 MB)"
},
"image_base64": {
"type": "string",
"description": "Or the photo itself, base64"
}
},
"required": [
"product_id",
"colour",
"customer_name",
"whatsapp"
]
}출력 스키마
{
"type": "object",
"properties": {
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"product_id": {
"type": "string"
},
"colour": {
"type": "string"
},
"windows_found": {
"type": "number"
},
"remaining_previews": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"next_step": {
"type": "string"
},
"note": {
"type": "string"
}
},
"required": [
"job_id",
"status",
"product_id",
"colour",
"windows_found",
"next_step"
],
"additionalProperties": true
}🟢get_visualiser_preview(job_id)
Draw and return the preview for a job_id from start_visualiser_preview: the blind in the chosen colour on the customer's photo, as an image in the result and as image_url (kept 7 days). The first call draws it (30 to 90 s; outdoor up to 2 minutes); status "drawing" means call again after retry_after_seconds.
입력 스키마
{
"type": "object",
"properties": {
"job_id": {
"type": "string"
}
},
"required": [
"job_id"
]
}출력 스키마
{
"type": "object",
"properties": {
"job_id": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"surveyed",
"drawing",
"done",
"failed"
]
},
"product_id": {
"type": "string"
},
"colour": {
"type": "string"
},
"image_url": {
"type": "string"
},
"image_mime": {
"type": "string"
},
"checked": {
"type": "boolean"
},
"note": {
"type": "string"
},
"error": {
"type": "string"
},
"retry_after_seconds": {
"type": "number"
}
},
"required": [
"job_id",
"status"
],
"additionalProperties": true
}🟢get_delivery_estimate(town, postal_code, suburb, province, width_mm, ...)
Lead time for a new order. Production takes 5 to 7 working days once payment clears, outside peak seasons. Pass the customer's town and 4-digit street postal_code (province and suburb help) and the transit range is The Courier Guy's own quote from our Knysna depot to that town; without them it is the standard 2 to 5 working days. Returns working-day ranges and a summary safe to share. Never quote a dispatch or delivery date: weather and production set them.
입력 스키마
{
"type": "object",
"properties": {
"town": {
"type": "string",
"description": "Customer's town or city, e.g. 'Johannesburg'"
},
"postal_code": {
"type": "string",
"description": "4-digit South African STREET postal code, e.g. 2196"
},
"suburb": {
"type": "string",
"description": "Optional suburb, e.g. Sandton"
},
"province": {
"type": "string",
"description": "Optional province, e.g. Gauteng"
},
"width_mm": {
"type": "number",
"description": "Optional widest blind in mm (sets the parcel length)"
},
"order_date": {
"type": "string",
"description": "ISO date of the order (e.g. '2026-05-18'). Defaults to today."
}
}
}출력 스키마
{
"type": "object",
"properties": {
"order_date": {
"type": "string"
},
"production_working_days_min": {
"type": "number"
},
"production_working_days_max": {
"type": "number"
},
"transit_working_days_min": {
"type": "number"
},
"transit_working_days_max": {
"type": "number"
},
"transit_source": {
"type": "string",
"enum": [
"courier_guy_quote",
"standard_range"
]
},
"destination": {
"type": "object",
"properties": {
"town": {
"type": "string"
},
"postal_code": {
"type": "string"
}
},
"required": [],
"additionalProperties": true
},
"courier_service": {
"type": "string"
},
"courier_high_risk_area": {
"type": "boolean"
},
"transit_note": {
"type": "string"
},
"production_starts": {
"type": "string"
},
"delivery_after_dispatch": {
"type": "string"
},
"expedited_available": {
"type": "boolean"
},
"summary": {
"type": "string"
},
"important": {
"type": "string"
}
},
"required": [
"production_working_days_min",
"production_working_days_max",
"transit_working_days_min",
"transit_working_days_max",
"delivery_after_dispatch",
"summary",
"important"
],
"additionalProperties": true
}🟢request_price_match(product_id, width_mm, height_mm, competitor_name, competitor_url, ...)
Submit a price match claim when the customer has found the same blind at a lower price elsewhere. Custom Blinds matches verified South African retailer prices for identical product, dimensions, and specs. Returns a pre-filled WhatsApp link to the claims team. Not applicable to clearance or flash-sale prices, international retailers, or items out of stock at the other retailer. Requires product_id and competitor_price_zar at minimum.
입력 스키마
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "Product the customer wants to match (e.g. roller-blockout)"
},
"width_mm": {
"type": "number",
"description": "Window width in mm"
},
"height_mm": {
"type": "number",
"description": "Window height/drop in mm"
},
"competitor_name": {
"type": "string",
"description": "Name of the other retailer"
},
"competitor_url": {
"type": "string",
"description": "URL to competitor product page or quote"
},
"competitor_price_zar": {
"type": "number",
"description": "Competitor's price in ZAR (incl. VAT)"
},
"customer_name": {
"type": "string",
"description": "Customer name"
},
"customer_whatsapp": {
"type": "string",
"description": "Customer WhatsApp number for follow-up"
}
},
"required": [
"product_id",
"competitor_price_zar"
]
}출력 스키마
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"claim_summary": {
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"dimensions": {
"type": "string"
},
"competitor": {
"type": "string"
},
"competitor_price_zar": {
"type": "string"
}
},
"required": [
"product_id",
"dimensions",
"competitor",
"competitor_price_zar"
],
"additionalProperties": true
},
"whatsapp_url": {
"type": "string"
},
"message": {
"type": "string"
},
"exclusions": {
"type": "array",
"items": {
"type": "string"
}
},
"note": {
"type": "string"
}
},
"required": [
"success",
"claim_summary",
"whatsapp_url",
"message",
"exclusions",
"note"
],
"additionalProperties": true
}커뮤니티
증거