Trailberg Ireland — Activewear, Tracksuits & Footwear is an MCP server published by ie.trailberg.mcp, hosted at mcp.trailberg.ie. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 19 tools, including track_product_link, render_size_guide, render_complete_the_look, complete_look_product_details, product_details.
Shop Trailberg Ireland activewear, tracksuits, jackets and footwear for men, women and boys.
4 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
App-only analytics acknowledgement after requesting a product link to open. Never a product lookup or navigation tool.
| Parameter | Type | Description |
|---|---|---|
| product_id * | string | |
| variant_id | any | |
| source_surface | string | one of ["product_search","product_detail","complete_look","cart","unknown"] |
| destination_domain * | string |
{
"name": "track_product_link",
"description": "App-only analytics acknowledgement after requesting a product link to open. Never a product lookup or navigation tool.",
"inputSchema": {
"type": "object",
"title": "track_product_linkArguments",
"required": [
"product_id",
"destination_domain"
],
"properties": {
"product_id": {
"type": "string",
"title": "Product Id"
},
"variant_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variant Id",
"default": null
},
"source_surface": {
"enum": [
"product_search",
"product_detail",
"complete_look",
"cart",
"unknown"
],
"type": "string",
"title": "Source Surface",
"default": "unknown"
},
"destination_domain": {
"type": "string",
"title": "Destination Domain"
}
}
},
"outputSchema": {
"type": "object",
"title": "track_product_linkDictOutput",
"additionalProperties": {
"type": "boolean"
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Render this connected store's size guide or size chart. Use for requests about sizing, measurements, clothing sizes, children's sizes, or footwear sizing. The result explains when the connected store does not provide the requested guide.
| Parameter | Type | Description |
|---|---|---|
| query | string |
{
"name": "render_size_guide",
"title": "Size guide",
"description": "Render this connected store's size guide or size chart. Use for requests about sizing, measurements, clothing sizes, children's sizes, or footwear sizing. The result explains when the connected store does not provide the requested guide.",
"inputSchema": {
"type": "object",
"title": "render_size_guideArguments",
"properties": {
"query": {
"type": "string",
"title": "Query",
"default": "size guide"
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"SizeGuideContract": {
"type": "object",
"title": "SizeGuideContract",
"required": [
"id",
"label",
"kind",
"units"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"kind": {
"type": "string",
"title": "Kind"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideRowContract"
},
"title": "Rows"
},
"label": {
"type": "string",
"title": "Label"
},
"units": {
"type": "string",
"title": "Units"
},
"tables": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideTableContract"
},
"title": "Tables"
},
"columns": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideColumnContract"
},
"title": "Columns"
}
}
},
"SizeGuideRowContract": {
"type": "object",
"title": "SizeGuideRowContract",
"required": [
"values"
],
"properties": {
"values": {
"type": "object",
"title": "Values",
"additionalProperties": {
"type": "string"
}
}
}
},
"SizeGuideStoreContract": {
"type": "object",
"title": "SizeGuideStoreContract",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
}
}
},
"SizeGuideTableContract": {
"type": "object",
"title": "SizeGuideTableContract",
"required": [
"id",
"label",
"columns",
"rows"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideRowContract"
},
"title": "Rows"
},
"label": {
"type": "string",
"title": "Label"
},
"columns": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideColumnContract"
},
"title": "Columns"
}
}
},
"SizeGuideColumnContract": {
"type": "object",
"title": "SizeGuideColumnContract",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string",
"title": "Key"
},
"label": {
"type": "string",
"title": "Label"
},
"widthPercent": {
"anyOf": [
{
"type": "number",
"maximum": 100,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Widthpercent",
"default": null
}
}
},
"SizeGuideCatalogContract": {
"type": "object",
"title": "SizeGuideCatalogContract",
"required": [
"storeId",
"storeName",
"defaultGuideId",
"tabOrder",
"guides"
],
"properties": {
"notes": {
"type": "array",
"items": {
"type": "string"
},
"title": "Notes"
},
"guides": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideContract"
},
"title": "Guides"
},
"aliases": {
"type": "object",
"title": "Aliases",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"tabOrder": {
"type": "array",
"items": {
"type": "string"
},
"title": "Taborder"
},
"storeName": {
"type": "string",
"title": "Storename"
},
"defaultGuideId": {
"type": "string",
"title": "Defaultguideid"
}
}
}
},
"title": "SizeGuideResultContract",
"required": [
"store",
"message",
"available",
"query"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "size_guide_result"
},
"query": {
"type": "string",
"title": "Query"
},
"store": {
"$ref": "#/$defs/SizeGuideStoreContract"
},
"catalog": {
"anyOf": [
{
"$ref": "#/$defs/SizeGuideCatalogContract"
},
{
"type": "null"
}
],
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"available": {
"type": "boolean",
"title": "Available"
},
"selectedGuideId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Selectedguideid",
"default": null
},
"visibleGuideIds": {
"type": "array",
"items": {
"type": "string"
},
"title": "Visibleguideids"
}
}
}
}Use this when a shopper wants Trailberg Ireland products to pair, match, style or wear with a specific product. Render Complete the Look with store-configured complementary products and supplementary items. Examples: 'what can I pair with this?', 'what can I match?', 'suggest a suitable pair', 'suitable matching suggestions', 'recommend matching products', 'what goes well with it?', 'dress to pair with this product', or 'complete this outfit'. Follow-up pairing requests also need this tool when the subject is clear from current-store context; the shopper does not need to say 'Complete the Look' or 'call the tool'. Do not substitute a text-only styling answer for fetching store recommendations. For one subject product, call this tool exactly once. For multiple explicitly named subject products, call it at most once per subject. Do not call it automatically after an ordinary discovery search, and do not additionally open product search or product detail merely to prepare, validate, rank, compare, or explain these recommendations. Pass a known current-store product ID, otherwise the subject's exact title in query; this tool resolves it internally. Do not call product search first merely to resolve the subject. If 'this/it' is ambiguous or no subject is identified, ask which product rather than guessing. General shopping suggestions without a subject belong to render_product_search. If no matching products are configured, explain the returned limitation without inventing pairs or opening another UI.
| Parameter | Type | Description |
|---|---|---|
| query | any | Subject product's exact current-store title, extracted from user wording or prior store context, when product_id is unknown. Example: 'Painter Tee - Black'. Do not pass the whole pairing question, 'this product', or the desired matching category. |
| product_id | any | Exact Shopify product GID of the subject to match, from a previous current-store result. Prefer this over query; never invent an ID or use a different store's ID. |
| buyer_context | any |
No description.
| Parameter | Type | Description |
|---|---|---|
| product_id * | string | |
| track_action | boolean | |
| source_surface | string | one of ["product_search","product_detail","complete_look","cart","unknown"] |
{
"name": "complete_look_product_details",
"description": "",
"inputSchema": {
"type": "object",
"title": "complete_look_product_detailsArguments",
"required": [
"product_id"
],
"properties": {
"product_id": {
"type": "string",
"title": "Product Id"
},
"track_action": {
"type": "boolean",
"title": "Track Action",
"default": true
},
"source_surface": {
"enum": [
"product_search",
"product_detail",
"complete_look",
"cart",
"unknown"
],
"type": "string",
"title": "Source Surface",
"default": "complete_look"
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"PriceContract": {
"type": "object",
"title": "PriceContract",
"properties": {
"onSale": {
"type": "boolean",
"title": "Onsale",
"default": false
},
"current": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"discount": {
"anyOf": [
{
"$ref": "#/$defs/DiscountContract"
},
{
"type": "null"
}
],
"default": null
},
"original": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"ProductContract": {
"type": "object",
"title": "ProductContract",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"price": {
"anyOf": [
{
"$ref": "#/$defs/PriceContract"
},
{
"type": "null"
}
],
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"badges": {
"type": "array",
"items": {
"type": "string"
},
"title": "Badges"
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"title": "Images"
},
"rating": {
"anyOf": [
{
"$ref": "#/$defs/ProductRatingContract"
},
{
"type": "null"
}
],
"default": null
},
"options": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductOptionContract"
},
"title": "Options"
},
"storeUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Storeurl",
"default": null
},
"variants": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductVariantContract"
},
"title": "Variants"
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"collections": {
"type": "array",
"items": {
"$ref": "#/$defs/CollectionContract"
},
"title": "Collections"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description",
"default": null
},
"primaryImage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Primaryimage",
"default": null
},
"variantSummary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantsummary",
"default": null
}
}
},
"DiscountContract": {
"type": "object",
"title": "DiscountContract",
"properties": {
"display": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Display",
"default": null
},
"percentage": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Percentage",
"default": null
}
}
},
"CollectionContract": {
"type": "object",
"title": "CollectionContract",
"required": [
"title"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Id",
"default": null
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Handle",
"default": null
}
}
},
"StoreSummaryContract": {
"type": "object",
"title": "StoreSummaryContract",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
}
}
},
"ProductOptionContract": {
"type": "object",
"title": "ProductOptionContract",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"values": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductOptionValueContract"
},
"title": "Values"
}
}
},
"ProductRatingContract": {
"type": "object",
"title": "ProductRatingContract",
"required": [
"average",
"count"
],
"properties": {
"count": {
"type": "integer",
"title": "Count"
},
"average": {
"type": "number",
"title": "Average"
},
"scaleMax": {
"type": "number",
"title": "Scalemax",
"default": 5
},
"scaleMin": {
"type": "number",
"title": "Scalemin",
"default": 1
}
}
},
"ProductVariantContract": {
"type": "object",
"title": "ProductVariantContract",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"sku": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sku",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"price": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title",
"default": null
},
"options": {
"type": "object",
"title": "Options",
"additionalProperties": {
"type": "string"
}
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"checkout_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Checkout Url",
"default": null
}
}
},
"ProductOptionValueContract": {
"type": "object",
"title": "ProductOptionValueContract",
"required": [
"label"
],
"properties": {
"label": {
"type": "string",
"title": "Label"
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
}
}
}
},
"title": "CompleteLookProductDetailContract",
"required": [
"store",
"message",
"product"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "complete_look_product_detail_result"
},
"store": {
"$ref": "#/$defs/StoreSummaryContract"
},
"message": {
"type": "string",
"title": "Message"
},
"product": {
"$ref": "#/$defs/ProductContract"
}
}
}
}App-only normalized data lookup for one Trailberg Ireland product.
| Parameter | Type | Description |
|---|---|---|
| query | any | |
| selected | any | |
| product_id | any | |
| track_action | boolean | |
| buyer_context | any | |
| source_surface | string | one of ["product_search","product_detail","complete_look","cart","unknown"] |
{
"name": "product_details",
"title": "Product details",
"description": "App-only normalized data lookup for one Trailberg Ireland product.",
"inputSchema": {
"type": "object",
"title": "product_detailsArguments",
"properties": {
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Query",
"default": null
},
"selected": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
{
"type": "null"
}
],
"title": "Selected",
"default": null
},
"product_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Product Id",
"default": null
},
"track_action": {
"type": "boolean",
"title": "Track Action",
"default": true
},
"buyer_context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Buyer Context",
"default": null
},
"source_surface": {
"enum": [
"product_search",
"product_detail",
"complete_look",
"cart",
"unknown"
],
"type": "string",
"title": "Source Surface",
"default": "product_detail"
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"PriceContract": {
"type": "object",
"title": "PriceContract",
"properties": {
"onSale": {
"type": "boolean",
"title": "Onsale",
"default": false
},
"current": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"discount": {
"anyOf": [
{
"$ref": "#/$defs/DiscountContract"
},
{
"type": "null"
}
],
"default": null
},
"original": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"ProductContract": {
"type": "object",
"title": "ProductContract",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"price": {
"anyOf": [
{
"$ref": "#/$defs/PriceContract"
},
{
"type": "null"
}
],
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"badges": {
"type": "array",
"items": {
"type": "string"
},
"title": "Badges"
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"title": "Images"
},
"rating": {
"anyOf": [
{
"$ref": "#/$defs/ProductRatingContract"
},
{
"type": "null"
}
],
"default": null
},
"options": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductOptionContract"
},
"title": "Options"
},
"storeUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Storeurl",
"default": null
},
"variants": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductVariantContract"
},
"title": "Variants"
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"collections": {
"type": "array",
"items": {
"$ref": "#/$defs/CollectionContract"
},
"title": "Collections"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description",
"default": null
},
"primaryImage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Primaryimage",
"default": null
},
"variantSummary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantsummary",
"default": null
}
}
},
"DiscountContract": {
"type": "object",
"title": "DiscountContract",
"properties": {
"display": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Display",
"default": null
},
"percentage": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Percentage",
"default": null
}
}
},
"SizeGuideContract": {
"type": "object",
"title": "SizeGuideContract",
"required": [
"id",
"label",
"kind",
"units"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"kind": {
"type": "string",
"title": "Kind"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideRowContract"
},
"title": "Rows"
},
"label": {
"type": "string",
"title": "Label"
},
"units": {
"type": "string",
"title": "Units"
},
"tables": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideTableContract"
},
"title": "Tables"
},
"columns": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideColumnContract"
},
"title": "Columns"
}
}
},
"CollectionContract": {
"type": "object",
"title": "CollectionContract",
"required": [
"title"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Id",
"default": null
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Handle",
"default": null
}
}
},
"SizeGuideRowContract": {
"type": "object",
"title": "SizeGuideRowContract",
"required": [
"values"
],
"properties": {
"values": {
"type": "object",
"title": "Values",
"additionalProperties": {
"type": "string"
}
}
}
},
"StoreSummaryContract": {
"type": "object",
"title": "StoreSummaryContract",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
}
}
},
"ProductOptionContract": {
"type": "object",
"title": "ProductOptionContract",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"values": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductOptionValueContract"
},
"title": "Values"
}
}
},
"ProductRatingContract": {
"type": "object",
"title": "ProductRatingContract",
"required": [
"average",
"count"
],
"properties": {
"count": {
"type": "integer",
"title": "Count"
},
"average": {
"type": "number",
"title": "Average"
},
"scaleMax": {
"type": "number",
"title": "Scalemax",
"default": 5
},
"scaleMin": {
"type": "number",
"title": "Scalemin",
"default": 1
}
}
},
"ProductVariantContract": {
"type": "object",
"title": "ProductVariantContract",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"sku": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sku",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"price": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title",
"default": null
},
"options": {
"type": "object",
"title": "Options",
"additionalProperties": {
"type": "string"
}
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"checkout_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Checkout Url",
"default": null
}
}
},
"SizeGuideTableContract": {
"type": "object",
"title": "SizeGuideTableContract",
"required": [
"id",
"label",
"columns",
"rows"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideRowContract"
},
"title": "Rows"
},
"label": {
"type": "string",
"title": "Label"
},
"columns": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideColumnContract"
},
"title": "Columns"
}
}
},
"SizeGuideColumnContract": {
"type": "object",
"title": "SizeGuideColumnContract",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string",
"title": "Key"
},
"label": {
"type": "string",
"title": "Label"
},
"widthPercent": {
"anyOf": [
{
"type": "number",
"maximum": 100,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Widthpercent",
"default": null
}
}
},
"SizeGuideCatalogContract": {
"type": "object",
"title": "SizeGuideCatalogContract",
"required": [
"storeId",
"storeName",
"defaultGuideId",
"tabOrder",
"guides"
],
"properties": {
"notes": {
"type": "array",
"items": {
"type": "string"
},
"title": "Notes"
},
"guides": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideContract"
},
"title": "Guides"
},
"aliases": {
"type": "object",
"title": "Aliases",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"tabOrder": {
"type": "array",
"items": {
"type": "string"
},
"title": "Taborder"
},
"storeName": {
"type": "string",
"title": "Storename"
},
"defaultGuideId": {
"type": "string",
"title": "Defaultguideid"
}
}
},
"ProductOptionValueContract": {
"type": "object",
"title": "ProductOptionValueContract",
"required": [
"label"
],
"properties": {
"label": {
"type": "string",
"title": "Label"
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
}
}
}
},
"title": "ProductDetailResultContract",
"required": [
"store",
"message",
"product"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "product_detail_result"
},
"store": {
"$ref": "#/$defs/StoreSummaryContract"
},
"message": {
"type": "string",
"title": "Message"
},
"product": {
"$ref": "#/$defs/ProductContract"
},
"selected": {
"type": "object",
"title": "Selected",
"additionalProperties": {
"type": "string"
}
},
"sizeGuide": {
"anyOf": [
{
"$ref": "#/$defs/SizeGuideCatalogContract"
},
{
"type": "null"
}
],
"default": null
}
}
}
}Create or validate the opaque cart session used by this app surface.
| Parameter | Type | Description |
|---|---|---|
| cart_session_id | any |
{
"name": "bootstrap_cart_session",
"description": "Create or validate the opaque cart session used by this app surface.",
"inputSchema": {
"type": "object",
"title": "bootstrap_cart_sessionArguments",
"properties": {
"cart_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Session Id",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"CartItemContract": {
"type": "object",
"title": "CartItemContract",
"required": [
"title"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"lineId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lineid",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity",
"default": 0
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"lineTotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"productId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Productid",
"default": null
},
"unitPrice": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"variantId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantid",
"default": null
},
"productTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Producttitle",
"default": null
},
"selectedOptions": {
"type": "array",
"items": {
"$ref": "#/$defs/CartSelectedOptionContract"
},
"title": "Selectedoptions"
}
}
},
"CartTotalsContract": {
"type": "object",
"title": "CartTotalsContract",
"properties": {
"subtotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"CartSelectedOptionContract": {
"type": "object",
"title": "CartSelectedOptionContract",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
}
}
}
},
"title": "CartResultContract",
"required": [
"storeId",
"message"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "cart_result"
},
"empty": {
"type": "boolean",
"title": "Empty",
"default": false
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/CartItemContract"
},
"title": "Items"
},
"cartId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartid",
"default": null
},
"totals": {
"$ref": "#/$defs/CartTotalsContract"
},
"message": {
"type": "string",
"title": "Message"
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"snapshotAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Snapshotat",
"default": null
},
"cartScopeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartscopeid",
"default": null
},
"cartVersion": {
"type": "integer",
"title": "Cartversion",
"default": 0
},
"continueUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continueurl",
"default": null
},
"emptyReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Emptyreason",
"default": null
},
"snapshotMode": {
"type": "string",
"title": "Snapshotmode",
"default": "current"
},
"cartSessionId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartsessionid",
"default": null
},
"lineItemCount": {
"type": "integer",
"title": "Lineitemcount",
"default": 0
},
"cartSessionState": {
"type": "string",
"title": "Cartsessionstate",
"default": "active"
}
}
}
}Add a product variant to the current store cart and preserve existing items.
| Parameter | Type | Description |
|---|---|---|
| cart_id | any | |
| quantity | integer | |
| variant_id * | string | |
| buyer_context | any | |
| cart_scope_id | any | |
| source_surface | string | one of ["product_search","product_detail","complete_look","cart","unknown"] |
| cart_session_id | any | |
| subject_product_id | any | |
| recommendation_type | any |
{
"name": "add_to_cart",
"description": "Add a product variant to the current store cart and preserve existing items.",
"inputSchema": {
"type": "object",
"title": "add_to_cartArguments",
"required": [
"variant_id"
],
"properties": {
"cart_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Id",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity",
"default": 1
},
"variant_id": {
"type": "string",
"title": "Variant Id"
},
"buyer_context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Buyer Context",
"default": null
},
"cart_scope_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Scope Id",
"default": null
},
"source_surface": {
"enum": [
"product_search",
"product_detail",
"complete_look",
"cart",
"unknown"
],
"type": "string",
"title": "Source Surface",
"default": "unknown"
},
"cart_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Session Id",
"default": null
},
"subject_product_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Subject Product Id",
"default": null
},
"recommendation_type": {
"anyOf": [
{
"enum": [
"subject",
"pair",
"accessory"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Recommendation Type",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"CartItemContract": {
"type": "object",
"title": "CartItemContract",
"required": [
"title"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"lineId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lineid",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity",
"default": 0
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"lineTotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"productId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Productid",
"default": null
},
"unitPrice": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"variantId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantid",
"default": null
},
"productTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Producttitle",
"default": null
},
"selectedOptions": {
"type": "array",
"items": {
"$ref": "#/$defs/CartSelectedOptionContract"
},
"title": "Selectedoptions"
}
}
},
"CartTotalsContract": {
"type": "object",
"title": "CartTotalsContract",
"properties": {
"subtotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"CartSelectedOptionContract": {
"type": "object",
"title": "CartSelectedOptionContract",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
}
}
}
},
"title": "CartResultContract",
"required": [
"storeId",
"message"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "cart_result"
},
"empty": {
"type": "boolean",
"title": "Empty",
"default": false
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/CartItemContract"
},
"title": "Items"
},
"cartId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartid",
"default": null
},
"totals": {
"$ref": "#/$defs/CartTotalsContract"
},
"message": {
"type": "string",
"title": "Message"
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"snapshotAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Snapshotat",
"default": null
},
"cartScopeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartscopeid",
"default": null
},
"cartVersion": {
"type": "integer",
"title": "Cartversion",
"default": 0
},
"continueUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continueurl",
"default": null
},
"emptyReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Emptyreason",
"default": null
},
"snapshotMode": {
"type": "string",
"title": "Snapshotmode",
"default": "current"
},
"cartSessionId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartsessionid",
"default": null
},
"lineItemCount": {
"type": "integer",
"title": "Lineitemcount",
"default": 0
},
"cartSessionState": {
"type": "string",
"title": "Cartsessionstate",
"default": "active"
}
}
}
}Return the current Trailberg Ireland cart contents to an already-rendered app.
| Parameter | Type | Description |
|---|---|---|
| cart_id | any | |
| track_action | boolean | |
| cart_scope_id | any | |
| source_surface | string | one of ["product_search","product_detail","complete_look","cart","unknown"] |
| cart_session_id | any |
{
"name": "view_cart",
"title": "View cart",
"description": "Return the current Trailberg Ireland cart contents to an already-rendered app.",
"inputSchema": {
"type": "object",
"title": "view_cartArguments",
"properties": {
"cart_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Id",
"default": "current"
},
"track_action": {
"type": "boolean",
"title": "Track Action",
"default": true
},
"cart_scope_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Scope Id",
"default": null
},
"source_surface": {
"enum": [
"product_search",
"product_detail",
"complete_look",
"cart",
"unknown"
],
"type": "string",
"title": "Source Surface",
"default": "cart"
},
"cart_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Session Id",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"CartItemContract": {
"type": "object",
"title": "CartItemContract",
"required": [
"title"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"lineId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lineid",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity",
"default": 0
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"lineTotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"productId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Productid",
"default": null
},
"unitPrice": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"variantId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantid",
"default": null
},
"productTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Producttitle",
"default": null
},
"selectedOptions": {
"type": "array",
"items": {
"$ref": "#/$defs/CartSelectedOptionContract"
},
"title": "Selectedoptions"
}
}
},
"CartTotalsContract": {
"type": "object",
"title": "CartTotalsContract",
"properties": {
"subtotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"CartSelectedOptionContract": {
"type": "object",
"title": "CartSelectedOptionContract",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
}
}
}
},
"title": "CartResultContract",
"required": [
"storeId",
"message"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "cart_result"
},
"empty": {
"type": "boolean",
"title": "Empty",
"default": false
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/CartItemContract"
},
"title": "Items"
},
"cartId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartid",
"default": null
},
"totals": {
"$ref": "#/$defs/CartTotalsContract"
},
"message": {
"type": "string",
"title": "Message"
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"snapshotAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Snapshotat",
"default": null
},
"cartScopeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartscopeid",
"default": null
},
"cartVersion": {
"type": "integer",
"title": "Cartversion",
"default": 0
},
"continueUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continueurl",
"default": null
},
"emptyReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Emptyreason",
"default": null
},
"snapshotMode": {
"type": "string",
"title": "Snapshotmode",
"default": "current"
},
"cartSessionId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartsessionid",
"default": null
},
"lineItemCount": {
"type": "integer",
"title": "Lineitemcount",
"default": 0
},
"cartSessionState": {
"type": "string",
"title": "Cartsessionstate",
"default": "active"
}
}
}
}Get the current continue/checkout URL for the store cart.
| Parameter | Type | Description |
|---|---|---|
| cart_id | any | |
| cart_scope_id | any | |
| cart_session_id | any |
{
"name": "checkout_link",
"description": "Get the current continue/checkout URL for the store cart.",
"inputSchema": {
"type": "object",
"title": "checkout_linkArguments",
"properties": {
"cart_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Id",
"default": "current"
},
"cart_scope_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Scope Id",
"default": null
},
"cart_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Session Id",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"CartItemContract": {
"type": "object",
"title": "CartItemContract",
"required": [
"title"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"lineId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lineid",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity",
"default": 0
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"lineTotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"productId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Productid",
"default": null
},
"unitPrice": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"variantId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantid",
"default": null
},
"productTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Producttitle",
"default": null
},
"selectedOptions": {
"type": "array",
"items": {
"$ref": "#/$defs/CartSelectedOptionContract"
},
"title": "Selectedoptions"
}
}
},
"CartTotalsContract": {
"type": "object",
"title": "CartTotalsContract",
"properties": {
"subtotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"CartSelectedOptionContract": {
"type": "object",
"title": "CartSelectedOptionContract",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
}
}
}
},
"title": "CartResultContract",
"required": [
"storeId",
"message"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "cart_result"
},
"empty": {
"type": "boolean",
"title": "Empty",
"default": false
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/CartItemContract"
},
"title": "Items"
},
"cartId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartid",
"default": null
},
"totals": {
"$ref": "#/$defs/CartTotalsContract"
},
"message": {
"type": "string",
"title": "Message"
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"snapshotAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Snapshotat",
"default": null
},
"cartScopeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartscopeid",
"default": null
},
"cartVersion": {
"type": "integer",
"title": "Cartversion",
"default": 0
},
"continueUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continueurl",
"default": null
},
"emptyReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Emptyreason",
"default": null
},
"snapshotMode": {
"type": "string",
"title": "Snapshotmode",
"default": "current"
},
"cartSessionId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartsessionid",
"default": null
},
"lineItemCount": {
"type": "integer",
"title": "Lineitemcount",
"default": 0
},
"cartSessionState": {
"type": "string",
"title": "Cartsessionstate",
"default": "active"
}
}
}
}Validate the current cart and return its checkout handoff URL.
| Parameter | Type | Description |
|---|---|---|
| source_surface | string | one of ["product_search","product_detail","complete_look","cart","unknown"] |
| cart_session_id | any |
{
"name": "begin_checkout",
"description": "Validate the current cart and return its checkout handoff URL.",
"inputSchema": {
"type": "object",
"title": "begin_checkoutArguments",
"properties": {
"source_surface": {
"enum": [
"product_search",
"product_detail",
"complete_look",
"cart",
"unknown"
],
"type": "string",
"title": "Source Surface",
"default": "cart"
},
"cart_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Session Id",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"CartItemContract": {
"type": "object",
"title": "CartItemContract",
"required": [
"title"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"lineId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lineid",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity",
"default": 0
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"lineTotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"productId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Productid",
"default": null
},
"unitPrice": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"variantId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantid",
"default": null
},
"productTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Producttitle",
"default": null
},
"selectedOptions": {
"type": "array",
"items": {
"$ref": "#/$defs/CartSelectedOptionContract"
},
"title": "Selectedoptions"
}
}
},
"CartTotalsContract": {
"type": "object",
"title": "CartTotalsContract",
"properties": {
"subtotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"CartSelectedOptionContract": {
"type": "object",
"title": "CartSelectedOptionContract",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
}
}
}
},
"title": "CartResultContract",
"required": [
"storeId",
"message"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "cart_result"
},
"empty": {
"type": "boolean",
"title": "Empty",
"default": false
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/CartItemContract"
},
"title": "Items"
},
"cartId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartid",
"default": null
},
"totals": {
"$ref": "#/$defs/CartTotalsContract"
},
"message": {
"type": "string",
"title": "Message"
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"snapshotAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Snapshotat",
"default": null
},
"cartScopeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartscopeid",
"default": null
},
"cartVersion": {
"type": "integer",
"title": "Cartversion",
"default": 0
},
"continueUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continueurl",
"default": null
},
"emptyReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Emptyreason",
"default": null
},
"snapshotMode": {
"type": "string",
"title": "Snapshotmode",
"default": "current"
},
"cartSessionId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartsessionid",
"default": null
},
"lineItemCount": {
"type": "integer",
"title": "Lineitemcount",
"default": 0
},
"cartSessionState": {
"type": "string",
"title": "Cartsessionstate",
"default": "active"
}
}
}
}Replace the current store cart contents with the supplied full line item list.
| Parameter | Type | Description |
|---|---|---|
| cart_id | any | |
| line_items * | array | |
| buyer_context | any | |
| cart_scope_id | any | |
| source_surface | string | one of ["product_search","product_detail","complete_look","cart","unknown"] |
| cart_session_id | any |
{
"name": "update_cart",
"description": "Replace the current store cart contents with the supplied full line item list.",
"inputSchema": {
"type": "object",
"title": "update_cartArguments",
"required": [
"line_items"
],
"properties": {
"cart_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Id",
"default": "current"
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Line Items"
},
"buyer_context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Buyer Context",
"default": null
},
"cart_scope_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Scope Id",
"default": null
},
"source_surface": {
"enum": [
"product_search",
"product_detail",
"complete_look",
"cart",
"unknown"
],
"type": "string",
"title": "Source Surface",
"default": "cart"
},
"cart_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Session Id",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"CartItemContract": {
"type": "object",
"title": "CartItemContract",
"required": [
"title"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"lineId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lineid",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity",
"default": 0
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"lineTotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"productId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Productid",
"default": null
},
"unitPrice": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"variantId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantid",
"default": null
},
"productTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Producttitle",
"default": null
},
"selectedOptions": {
"type": "array",
"items": {
"$ref": "#/$defs/CartSelectedOptionContract"
},
"title": "Selectedoptions"
}
}
},
"CartTotalsContract": {
"type": "object",
"title": "CartTotalsContract",
"properties": {
"subtotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"CartSelectedOptionContract": {
"type": "object",
"title": "CartSelectedOptionContract",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
}
}
}
},
"title": "CartResultContract",
"required": [
"storeId",
"message"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "cart_result"
},
"empty": {
"type": "boolean",
"title": "Empty",
"default": false
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/CartItemContract"
},
"title": "Items"
},
"cartId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartid",
"default": null
},
"totals": {
"$ref": "#/$defs/CartTotalsContract"
},
"message": {
"type": "string",
"title": "Message"
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"snapshotAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Snapshotat",
"default": null
},
"cartScopeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartscopeid",
"default": null
},
"cartVersion": {
"type": "integer",
"title": "Cartversion",
"default": 0
},
"continueUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continueurl",
"default": null
},
"emptyReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Emptyreason",
"default": null
},
"snapshotMode": {
"type": "string",
"title": "Snapshotmode",
"default": "current"
},
"cartSessionId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartsessionid",
"default": null
},
"lineItemCount": {
"type": "integer",
"title": "Lineitemcount",
"default": 0
},
"cartSessionState": {
"type": "string",
"title": "Cartsessionstate",
"default": "active"
}
}
}
}Cancel and clear the current store cart completely.
| Parameter | Type | Description |
|---|---|---|
| cart_id | any | |
| cart_scope_id | any | |
| source_surface | string | one of ["product_search","product_detail","complete_look","cart","unknown"] |
| cart_session_id | any |
{
"name": "cancel_cart",
"description": "Cancel and clear the current store cart completely.",
"inputSchema": {
"type": "object",
"title": "cancel_cartArguments",
"properties": {
"cart_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Id",
"default": "current"
},
"cart_scope_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Scope Id",
"default": null
},
"source_surface": {
"enum": [
"product_search",
"product_detail",
"complete_look",
"cart",
"unknown"
],
"type": "string",
"title": "Source Surface",
"default": "cart"
},
"cart_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Session Id",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"CartItemContract": {
"type": "object",
"title": "CartItemContract",
"required": [
"title"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"lineId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lineid",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity",
"default": 0
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"lineTotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"productId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Productid",
"default": null
},
"unitPrice": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"variantId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantid",
"default": null
},
"productTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Producttitle",
"default": null
},
"selectedOptions": {
"type": "array",
"items": {
"$ref": "#/$defs/CartSelectedOptionContract"
},
"title": "Selectedoptions"
}
}
},
"CartTotalsContract": {
"type": "object",
"title": "CartTotalsContract",
"properties": {
"subtotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"CartSelectedOptionContract": {
"type": "object",
"title": "CartSelectedOptionContract",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
}
}
}
},
"title": "CartResultContract",
"required": [
"storeId",
"message"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "cart_result"
},
"empty": {
"type": "boolean",
"title": "Empty",
"default": false
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/CartItemContract"
},
"title": "Items"
},
"cartId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartid",
"default": null
},
"totals": {
"$ref": "#/$defs/CartTotalsContract"
},
"message": {
"type": "string",
"title": "Message"
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"snapshotAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Snapshotat",
"default": null
},
"cartScopeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartscopeid",
"default": null
},
"cartVersion": {
"type": "integer",
"title": "Cartversion",
"default": 0
},
"continueUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continueurl",
"default": null
},
"emptyReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Emptyreason",
"default": null
},
"snapshotMode": {
"type": "string",
"title": "Snapshotmode",
"default": "current"
},
"cartSessionId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartsessionid",
"default": null
},
"lineItemCount": {
"type": "integer",
"title": "Lineitemcount",
"default": 0
},
"cartSessionState": {
"type": "string",
"title": "Cartsessionstate",
"default": "active"
}
}
}
}Remove one cart item by line_id or variant_id from the current store cart.
| Parameter | Type | Description |
|---|---|---|
| cart_id | any | |
| line_id | any | |
| variant_id | any | |
| buyer_context | any | |
| cart_scope_id | any | |
| source_surface | string | one of ["product_search","product_detail","complete_look","cart","unknown"] |
| cart_session_id | any |
{
"name": "remove_from_cart",
"description": "Remove one cart item by line_id or variant_id from the current store cart.",
"inputSchema": {
"type": "object",
"title": "remove_from_cartArguments",
"properties": {
"cart_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Id",
"default": "current"
},
"line_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Line Id",
"default": null
},
"variant_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variant Id",
"default": null
},
"buyer_context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Buyer Context",
"default": null
},
"cart_scope_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Scope Id",
"default": null
},
"source_surface": {
"enum": [
"product_search",
"product_detail",
"complete_look",
"cart",
"unknown"
],
"type": "string",
"title": "Source Surface",
"default": "cart"
},
"cart_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Session Id",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"CartItemContract": {
"type": "object",
"title": "CartItemContract",
"required": [
"title"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"lineId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lineid",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity",
"default": 0
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"lineTotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"productId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Productid",
"default": null
},
"unitPrice": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"variantId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantid",
"default": null
},
"productTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Producttitle",
"default": null
},
"selectedOptions": {
"type": "array",
"items": {
"$ref": "#/$defs/CartSelectedOptionContract"
},
"title": "Selectedoptions"
}
}
},
"CartTotalsContract": {
"type": "object",
"title": "CartTotalsContract",
"properties": {
"subtotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"CartSelectedOptionContract": {
"type": "object",
"title": "CartSelectedOptionContract",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
}
}
}
},
"title": "CartResultContract",
"required": [
"storeId",
"message"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "cart_result"
},
"empty": {
"type": "boolean",
"title": "Empty",
"default": false
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/CartItemContract"
},
"title": "Items"
},
"cartId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartid",
"default": null
},
"totals": {
"$ref": "#/$defs/CartTotalsContract"
},
"message": {
"type": "string",
"title": "Message"
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"snapshotAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Snapshotat",
"default": null
},
"cartScopeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartscopeid",
"default": null
},
"cartVersion": {
"type": "integer",
"title": "Cartversion",
"default": 0
},
"continueUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continueurl",
"default": null
},
"emptyReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Emptyreason",
"default": null
},
"snapshotMode": {
"type": "string",
"title": "Snapshotmode",
"default": "current"
},
"cartSessionId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartsessionid",
"default": null
},
"lineItemCount": {
"type": "integer",
"title": "Lineitemcount",
"default": 0
},
"cartSessionState": {
"type": "string",
"title": "Cartsessionstate",
"default": "active"
}
}
}
}Set the quantity of one cart item by line_id or variant_id in the current store cart.
| Parameter | Type | Description |
|---|---|---|
| cart_id | any | |
| line_id | any | |
| quantity * | integer | |
| variant_id | any | |
| buyer_context | any | |
| cart_scope_id | any | |
| source_surface | string | one of ["product_search","product_detail","complete_look","cart","unknown"] |
| cart_session_id | any |
{
"name": "update_cart_item_quantity",
"description": "Set the quantity of one cart item by line_id or variant_id in the current store cart.",
"inputSchema": {
"type": "object",
"title": "update_cart_item_quantityArguments",
"required": [
"quantity"
],
"properties": {
"cart_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Id",
"default": "current"
},
"line_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Line Id",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity"
},
"variant_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variant Id",
"default": null
},
"buyer_context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Buyer Context",
"default": null
},
"cart_scope_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Scope Id",
"default": null
},
"source_surface": {
"enum": [
"product_search",
"product_detail",
"complete_look",
"cart",
"unknown"
],
"type": "string",
"title": "Source Surface",
"default": "cart"
},
"cart_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Session Id",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"CartItemContract": {
"type": "object",
"title": "CartItemContract",
"required": [
"title"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"lineId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lineid",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity",
"default": 0
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"lineTotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"productId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Productid",
"default": null
},
"unitPrice": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"variantId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantid",
"default": null
},
"productTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Producttitle",
"default": null
},
"selectedOptions": {
"type": "array",
"items": {
"$ref": "#/$defs/CartSelectedOptionContract"
},
"title": "Selectedoptions"
}
}
},
"CartTotalsContract": {
"type": "object",
"title": "CartTotalsContract",
"properties": {
"subtotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"CartSelectedOptionContract": {
"type": "object",
"title": "CartSelectedOptionContract",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
}
}
}
},
"title": "CartResultContract",
"required": [
"storeId",
"message"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "cart_result"
},
"empty": {
"type": "boolean",
"title": "Empty",
"default": false
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/CartItemContract"
},
"title": "Items"
},
"cartId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartid",
"default": null
},
"totals": {
"$ref": "#/$defs/CartTotalsContract"
},
"message": {
"type": "string",
"title": "Message"
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"snapshotAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Snapshotat",
"default": null
},
"cartScopeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartscopeid",
"default": null
},
"cartVersion": {
"type": "integer",
"title": "Cartversion",
"default": 0
},
"continueUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continueurl",
"default": null
},
"emptyReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Emptyreason",
"default": null
},
"snapshotMode": {
"type": "string",
"title": "Snapshotmode",
"default": "current"
},
"cartSessionId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartsessionid",
"default": null
},
"lineItemCount": {
"type": "integer",
"title": "Lineitemcount",
"default": 0
},
"cartSessionState": {
"type": "string",
"title": "Cartsessionstate",
"default": "active"
}
}
}
}Replace one cart item with another variant, such as switching size or color.
| Parameter | Type | Description |
|---|---|---|
| cart_id | any | |
| line_id | any | |
| quantity | any | |
| buyer_context | any | |
| cart_scope_id | any | |
| new_variant_id * | string | |
| old_variant_id | any | |
| source_surface | string | one of ["product_search","product_detail","complete_look","cart","unknown"] |
| cart_session_id | any |
{
"name": "replace_cart_item_variant",
"description": "Replace one cart item with another variant, such as switching size or color.",
"inputSchema": {
"type": "object",
"title": "replace_cart_item_variantArguments",
"required": [
"new_variant_id"
],
"properties": {
"cart_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Id",
"default": "current"
},
"line_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Line Id",
"default": null
},
"quantity": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Quantity",
"default": null
},
"buyer_context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Buyer Context",
"default": null
},
"cart_scope_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Scope Id",
"default": null
},
"new_variant_id": {
"type": "string",
"title": "New Variant Id"
},
"old_variant_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Old Variant Id",
"default": null
},
"source_surface": {
"enum": [
"product_search",
"product_detail",
"complete_look",
"cart",
"unknown"
],
"type": "string",
"title": "Source Surface",
"default": "cart"
},
"cart_session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Session Id",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"CartItemContract": {
"type": "object",
"title": "CartItemContract",
"required": [
"title"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"lineId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lineid",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity",
"default": 0
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"lineTotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"productId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Productid",
"default": null
},
"unitPrice": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"variantId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantid",
"default": null
},
"productTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Producttitle",
"default": null
},
"selectedOptions": {
"type": "array",
"items": {
"$ref": "#/$defs/CartSelectedOptionContract"
},
"title": "Selectedoptions"
}
}
},
"CartTotalsContract": {
"type": "object",
"title": "CartTotalsContract",
"properties": {
"subtotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"CartSelectedOptionContract": {
"type": "object",
"title": "CartSelectedOptionContract",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
}
}
}
},
"title": "CartResultContract",
"required": [
"storeId",
"message"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "cart_result"
},
"empty": {
"type": "boolean",
"title": "Empty",
"default": false
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/CartItemContract"
},
"title": "Items"
},
"cartId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartid",
"default": null
},
"totals": {
"$ref": "#/$defs/CartTotalsContract"
},
"message": {
"type": "string",
"title": "Message"
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"snapshotAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Snapshotat",
"default": null
},
"cartScopeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartscopeid",
"default": null
},
"cartVersion": {
"type": "integer",
"title": "Cartversion",
"default": 0
},
"continueUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continueurl",
"default": null
},
"emptyReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Emptyreason",
"default": null
},
"snapshotMode": {
"type": "string",
"title": "Snapshotmode",
"default": "current"
},
"cartSessionId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartsessionid",
"default": null
},
"lineItemCount": {
"type": "integer",
"title": "Lineitemcount",
"default": 0
},
"cartSessionState": {
"type": "string",
"title": "Cartsessionstate",
"default": "active"
}
}
}
}Search Trailberg Ireland and render the interactive product carousel. Pass the shopper's product wording through in query without rewriting it. When the shopper states a budget, provide min_price and/or max_price in major currency units; use both with the same value only for an exact price. For one requested category or concept, call this tool exactly once and do not repeat or rephrase the search. If no products are returned, show the empty result and ask before trying a different query or relaxing constraints. For multiple explicitly requested categories, use one faithful combined search when possible; otherwise call this tool once per distinct category. Do not create separate searches for synonyms, colours, styles, audiences, or alternative wording. Use this for browsing or discovery, not as a preliminary lookup for an exact product-detail request. Do not automatically open product-detail tools for returned products to rank, compare, validate, or explain the results. For products to pair or match with a referenced item, use render_complete_the_look instead.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum products to return. |
| query * | string | The shopper's product wording, passed to Shopify unchanged. |
| currency | any | ISO 4217 currency code. |
| max_price | any | Optional maximum price in major currency units. |
| min_price | any | Optional minimum price in major currency units. |
| buyer_context | any |
Render the interactive detail UI for one exact Trailberg Ireland product. Pass a product_id when known; otherwise pass the exact product-name query directly because this tool resolves it internally. Use this only when the shopper explicitly asks to view, inspect, review, or get specifications for one exact product, or selects a product from search results. Do not call it automatically to rank, compare, validate, or explain discovery results. Do not call product search first to resolve the product. For matching items, recommended pairs or what to wear with this product, use render_complete_the_look instead.
| Parameter | Type | Description |
|---|---|---|
| query | any | |
| selected | any | |
| product_id | any | |
| buyer_context | any |
{
"name": "render_product_detail",
"title": "Render product detail",
"description": "Render the interactive detail UI for one exact Trailberg Ireland product. Pass a product_id when known; otherwise pass the exact product-name query directly because this tool resolves it internally. Use this only when the shopper explicitly asks to view, inspect, review, or get specifications for one exact product, or selects a product from search results. Do not call it automatically to rank, compare, validate, or explain discovery results. Do not call product search first to resolve the product. For matching items, recommended pairs or what to wear with this product, use render_complete_the_look instead.",
"inputSchema": {
"type": "object",
"title": "render_product_detailArguments",
"properties": {
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Query",
"default": null
},
"selected": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
{
"type": "null"
}
],
"title": "Selected",
"default": null
},
"product_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Product Id",
"default": null
},
"buyer_context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Buyer Context",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"PriceContract": {
"type": "object",
"title": "PriceContract",
"properties": {
"onSale": {
"type": "boolean",
"title": "Onsale",
"default": false
},
"current": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"discount": {
"anyOf": [
{
"$ref": "#/$defs/DiscountContract"
},
{
"type": "null"
}
],
"default": null
},
"original": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"ProductContract": {
"type": "object",
"title": "ProductContract",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"price": {
"anyOf": [
{
"$ref": "#/$defs/PriceContract"
},
{
"type": "null"
}
],
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"badges": {
"type": "array",
"items": {
"type": "string"
},
"title": "Badges"
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"title": "Images"
},
"rating": {
"anyOf": [
{
"$ref": "#/$defs/ProductRatingContract"
},
{
"type": "null"
}
],
"default": null
},
"options": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductOptionContract"
},
"title": "Options"
},
"storeUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Storeurl",
"default": null
},
"variants": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductVariantContract"
},
"title": "Variants"
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"collections": {
"type": "array",
"items": {
"$ref": "#/$defs/CollectionContract"
},
"title": "Collections"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description",
"default": null
},
"primaryImage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Primaryimage",
"default": null
},
"variantSummary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantsummary",
"default": null
}
}
},
"DiscountContract": {
"type": "object",
"title": "DiscountContract",
"properties": {
"display": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Display",
"default": null
},
"percentage": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Percentage",
"default": null
}
}
},
"SizeGuideContract": {
"type": "object",
"title": "SizeGuideContract",
"required": [
"id",
"label",
"kind",
"units"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"kind": {
"type": "string",
"title": "Kind"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideRowContract"
},
"title": "Rows"
},
"label": {
"type": "string",
"title": "Label"
},
"units": {
"type": "string",
"title": "Units"
},
"tables": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideTableContract"
},
"title": "Tables"
},
"columns": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideColumnContract"
},
"title": "Columns"
}
}
},
"CollectionContract": {
"type": "object",
"title": "CollectionContract",
"required": [
"title"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Id",
"default": null
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Handle",
"default": null
}
}
},
"SizeGuideRowContract": {
"type": "object",
"title": "SizeGuideRowContract",
"required": [
"values"
],
"properties": {
"values": {
"type": "object",
"title": "Values",
"additionalProperties": {
"type": "string"
}
}
}
},
"StoreSummaryContract": {
"type": "object",
"title": "StoreSummaryContract",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
}
}
},
"ProductOptionContract": {
"type": "object",
"title": "ProductOptionContract",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"values": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductOptionValueContract"
},
"title": "Values"
}
}
},
"ProductRatingContract": {
"type": "object",
"title": "ProductRatingContract",
"required": [
"average",
"count"
],
"properties": {
"count": {
"type": "integer",
"title": "Count"
},
"average": {
"type": "number",
"title": "Average"
},
"scaleMax": {
"type": "number",
"title": "Scalemax",
"default": 5
},
"scaleMin": {
"type": "number",
"title": "Scalemin",
"default": 1
}
}
},
"ProductVariantContract": {
"type": "object",
"title": "ProductVariantContract",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"sku": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sku",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"price": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title",
"default": null
},
"options": {
"type": "object",
"title": "Options",
"additionalProperties": {
"type": "string"
}
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"checkout_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Checkout Url",
"default": null
}
}
},
"SizeGuideTableContract": {
"type": "object",
"title": "SizeGuideTableContract",
"required": [
"id",
"label",
"columns",
"rows"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideRowContract"
},
"title": "Rows"
},
"label": {
"type": "string",
"title": "Label"
},
"columns": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideColumnContract"
},
"title": "Columns"
}
}
},
"SizeGuideColumnContract": {
"type": "object",
"title": "SizeGuideColumnContract",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string",
"title": "Key"
},
"label": {
"type": "string",
"title": "Label"
},
"widthPercent": {
"anyOf": [
{
"type": "number",
"maximum": 100,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Widthpercent",
"default": null
}
}
},
"SizeGuideCatalogContract": {
"type": "object",
"title": "SizeGuideCatalogContract",
"required": [
"storeId",
"storeName",
"defaultGuideId",
"tabOrder",
"guides"
],
"properties": {
"notes": {
"type": "array",
"items": {
"type": "string"
},
"title": "Notes"
},
"guides": {
"type": "array",
"items": {
"$ref": "#/$defs/SizeGuideContract"
},
"title": "Guides"
},
"aliases": {
"type": "object",
"title": "Aliases",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"tabOrder": {
"type": "array",
"items": {
"type": "string"
},
"title": "Taborder"
},
"storeName": {
"type": "string",
"title": "Storename"
},
"defaultGuideId": {
"type": "string",
"title": "Defaultguideid"
}
}
},
"ProductOptionValueContract": {
"type": "object",
"title": "ProductOptionValueContract",
"required": [
"label"
],
"properties": {
"label": {
"type": "string",
"title": "Label"
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
}
}
}
},
"title": "ProductDetailResultContract",
"required": [
"store",
"message",
"product"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "product_detail_result"
},
"store": {
"$ref": "#/$defs/StoreSummaryContract"
},
"message": {
"type": "string",
"title": "Message"
},
"product": {
"$ref": "#/$defs/ProductContract"
},
"selected": {
"type": "object",
"title": "Selected",
"additionalProperties": {
"type": "string"
}
},
"sizeGuide": {
"anyOf": [
{
"$ref": "#/$defs/SizeGuideCatalogContract"
},
{
"type": "null"
}
],
"default": null
}
}
}
}Always call this tool when the shopper asks to show, open, view, review, or check their cart. It renders the interactive cart UI; do not replace it with a text-only cart summary.
No parameters.
{
"name": "render_cart",
"title": "Show or view cart",
"description": "Always call this tool when the shopper asks to show, open, view, review, or check their cart. It renders the interactive cart UI; do not replace it with a text-only cart summary.",
"inputSchema": {
"type": "object",
"title": "render_cartArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"CartItemContract": {
"type": "object",
"title": "CartItemContract",
"required": [
"title"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"lineId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Lineid",
"default": null
},
"quantity": {
"type": "integer",
"title": "Quantity",
"default": 0
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"lineTotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"productId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Productid",
"default": null
},
"unitPrice": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"variantId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantid",
"default": null
},
"productTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Producttitle",
"default": null
},
"selectedOptions": {
"type": "array",
"items": {
"$ref": "#/$defs/CartSelectedOptionContract"
},
"title": "Selectedoptions"
}
}
},
"CartTotalsContract": {
"type": "object",
"title": "CartTotalsContract",
"properties": {
"subtotal": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"CartSelectedOptionContract": {
"type": "object",
"title": "CartSelectedOptionContract",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
}
}
}
},
"title": "CartResultContract",
"required": [
"storeId",
"message"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "cart_result"
},
"empty": {
"type": "boolean",
"title": "Empty",
"default": false
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/CartItemContract"
},
"title": "Items"
},
"cartId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartid",
"default": null
},
"totals": {
"$ref": "#/$defs/CartTotalsContract"
},
"message": {
"type": "string",
"title": "Message"
},
"storeId": {
"type": "string",
"title": "Storeid"
},
"snapshotAt": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Snapshotat",
"default": null
},
"cartScopeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartscopeid",
"default": null
},
"cartVersion": {
"type": "integer",
"title": "Cartversion",
"default": 0
},
"continueUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continueurl",
"default": null
},
"emptyReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Emptyreason",
"default": null
},
"snapshotMode": {
"type": "string",
"title": "Snapshotmode",
"default": "current"
},
"cartSessionId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartsessionid",
"default": null
},
"lineItemCount": {
"type": "integer",
"title": "Lineitemcount",
"default": 0
},
"cartSessionState": {
"type": "string",
"title": "Cartsessionstate",
"default": "active"
}
}
},
"annotations": {
"title": "Show the shopper's interactive cart",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return a compact action confirmation contract for interactive rendering.
| Parameter | Type | Description |
|---|---|---|
| title * | string | |
| action * | string | |
| cart_id | any | |
| message * | string | |
| quantity | any | |
| continue_url | any | |
| product_title | any | |
| variant_title | any | |
| line_item_count | any |
{
"name": "render_action_confirmation",
"title": "Render action confirmation",
"description": "Return a compact action confirmation contract for interactive rendering.",
"inputSchema": {
"type": "object",
"title": "render_action_confirmationArguments",
"required": [
"action",
"title",
"message"
],
"properties": {
"title": {
"type": "string",
"title": "Title"
},
"action": {
"type": "string",
"title": "Action"
},
"cart_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cart Id",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"quantity": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Quantity",
"default": null
},
"continue_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continue Url",
"default": null
},
"product_title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Product Title",
"default": null
},
"variant_title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variant Title",
"default": null
},
"line_item_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Line Item Count",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"ActionSubjectContract": {
"type": "object",
"title": "ActionSubjectContract",
"properties": {
"quantity": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Quantity",
"default": null
},
"productTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Producttitle",
"default": null
},
"variantTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Varianttitle",
"default": null
}
}
}
},
"title": "ActionConfirmationContract",
"required": [
"title",
"message",
"action"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "action_result"
},
"title": {
"type": "string",
"title": "Title"
},
"action": {
"type": "string",
"title": "Action"
},
"cartId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cartid",
"default": null
},
"status": {
"type": "string",
"title": "Status",
"default": "success"
},
"message": {
"type": "string",
"title": "Message"
},
"subject": {
"anyOf": [
{
"$ref": "#/$defs/ActionSubjectContract"
},
{
"type": "null"
}
],
"default": null
},
"continueUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continueurl",
"default": null
},
"lineItemCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Lineitemcount",
"default": null
}
}
}
}Route this store's shopper requests to its UI tools: pairing/matching a referenced product -> render_complete_the_look; product details/specifications -> render_product_detail; browsing -> render_product_search; cart -> render_cart; sizing -> render_size_guide. Call the matching tool rather than answering live store-product requests from memory. Reuse known current-store product IDs; ask which product if 'this' is ambiguous. Do not open extra search/detail UIs for a pairing request. Every request to show, open, view, review, or check the shopper's cart MUST call render_cart. Never answer a cart-view request with text alone and never infer that a bootstrap cart contract is an empty cart. Use render_product_search only for catalog discovery. For one requested product category or concept, call render_product_search exactly once and show that result; do not repeat or rephrase the same search. When the shopper explicitly requests multiple distinct categories, such as pants and shirts, use one search if one faithful query can return both categories; otherwise call render_product_search once per distinct category. Do not split synonyms, colours, styles, audiences, or alternative phrasings into separate searches. An empty search is a valid result: show its explanation and ask before broadening the query or removing constraints; do not automatically issue another search. Do not automatically call render_product_detail for products returned by a discovery search to rank, compare, validate, or explain the recommendations. Call render_product_detail only when the shopper explicitly asks to view, inspect, review, or get specifications for one exact product, or selects one search result. For a shopper-facing exact product request, call render_product_detail directly with the product_id when known or the exact product-name query when it is not; do not call render_product_search first merely to resolve an exact product. The product_details tool is app-only and must not be used as a shopper-facing renderer. Use render_product_search, render_product_detail, render_cart, render_size_guide, render_complete_the_look, and render_action_confirmation when an interactive UI would improve comparison, selection, or cart editing. Use render_size_guide whenever the user asks for a size guide, size chart, measurements, pants sizing, or shoe-size conversion. Pairing intent includes indirect follow-ups such as 'what can I pair with this?', 'what can I match?', 'suggest a suitable pair', 'recommend matching products', and 'what would go well with it?'. When the subject product is clear, use render_complete_the_look even if the shopper does not say the tool name or ask for a UI. A generic request such as 'suggest good pants' without a subject product is discovery, not Complete the Look. For one subject product, call render_complete_the_look exactly once. For multiple explicitly named subject products, call it at most once per subject. Do not call it automatically after product discovery, and do not additionally render product search or product detail merely to prepare, validate, rank, or explain its recommendations. Call render_complete_the_look directly with a known current-store product_id or the subject's exact product title in query, not the whole pairing request or the desired matching category. It resolves the title internally; do not render product search first merely to resolve that product. If the subject is unknown or several products could be meant, ask which product instead of guessing. Use the returned store recommendations, not invented matches. If no pairs are returned, explain that limitation; do not automatically open another UI. Cart identity is private app state; do not request, repeat, or invent cart IDs or session IDs. All commerce actions must route through this MCP server's tools.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
{
"name": "render_complete_the_look",
"title": "Complete the look",
"description": "Use this when a shopper wants Trailberg Ireland products to pair, match, style or wear with a specific product. Render Complete the Look with store-configured complementary products and supplementary items. Examples: 'what can I pair with this?', 'what can I match?', 'suggest a suitable pair', 'suitable matching suggestions', 'recommend matching products', 'what goes well with it?', 'dress to pair with this product', or 'complete this outfit'. Follow-up pairing requests also need this tool when the subject is clear from current-store context; the shopper does not need to say 'Complete the Look' or 'call the tool'. Do not substitute a text-only styling answer for fetching store recommendations. For one subject product, call this tool exactly once. For multiple explicitly named subject products, call it at most once per subject. Do not call it automatically after an ordinary discovery search, and do not additionally open product search or product detail merely to prepare, validate, rank, compare, or explain these recommendations. Pass a known current-store product ID, otherwise the subject's exact title in query; this tool resolves it internally. Do not call product search first merely to resolve the subject. If 'this/it' is ambiguous or no subject is identified, ask which product rather than guessing. General shopping suggestions without a subject belong to render_product_search. If no matching products are configured, explain the returned limitation without inventing pairs or opening another UI.",
"inputSchema": {
"type": "object",
"title": "render_complete_the_lookArguments",
"properties": {
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Query",
"default": null,
"description": "Subject product's exact current-store title, extracted from user wording or prior store context, when product_id is unknown. Example: 'Painter Tee - Black'. Do not pass the whole pairing question, 'this product', or the desired matching category."
},
"product_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Product Id",
"default": null,
"description": "Exact Shopify product GID of the subject to match, from a previous current-store result. Prefer this over query; never invent an ID or use a different store's ID."
},
"buyer_context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Buyer Context",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"PriceContract": {
"type": "object",
"title": "PriceContract",
"properties": {
"onSale": {
"type": "boolean",
"title": "Onsale",
"default": false
},
"current": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"discount": {
"anyOf": [
{
"$ref": "#/$defs/DiscountContract"
},
{
"type": "null"
}
],
"default": null
},
"original": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"ProductContract": {
"type": "object",
"title": "ProductContract",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"price": {
"anyOf": [
{
"$ref": "#/$defs/PriceContract"
},
{
"type": "null"
}
],
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"badges": {
"type": "array",
"items": {
"type": "string"
},
"title": "Badges"
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"title": "Images"
},
"rating": {
"anyOf": [
{
"$ref": "#/$defs/ProductRatingContract"
},
{
"type": "null"
}
],
"default": null
},
"options": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductOptionContract"
},
"title": "Options"
},
"storeUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Storeurl",
"default": null
},
"variants": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductVariantContract"
},
"title": "Variants"
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"collections": {
"type": "array",
"items": {
"$ref": "#/$defs/CollectionContract"
},
"title": "Collections"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description",
"default": null
},
"primaryImage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Primaryimage",
"default": null
},
"variantSummary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantsummary",
"default": null
}
}
},
"DiscountContract": {
"type": "object",
"title": "DiscountContract",
"properties": {
"display": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Display",
"default": null
},
"percentage": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Percentage",
"default": null
}
}
},
"CollectionContract": {
"type": "object",
"title": "CollectionContract",
"required": [
"title"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Id",
"default": null
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Handle",
"default": null
}
}
},
"StoreSummaryContract": {
"type": "object",
"title": "StoreSummaryContract",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
}
}
},
"ProductOptionContract": {
"type": "object",
"title": "ProductOptionContract",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"values": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductOptionValueContract"
},
"title": "Values"
}
}
},
"ProductRatingContract": {
"type": "object",
"title": "ProductRatingContract",
"required": [
"average",
"count"
],
"properties": {
"count": {
"type": "integer",
"title": "Count"
},
"average": {
"type": "number",
"title": "Average"
},
"scaleMax": {
"type": "number",
"title": "Scalemax",
"default": 5
},
"scaleMin": {
"type": "number",
"title": "Scalemin",
"default": 1
}
}
},
"ProductVariantContract": {
"type": "object",
"title": "ProductVariantContract",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"sku": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sku",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"price": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title",
"default": null
},
"options": {
"type": "object",
"title": "Options",
"additionalProperties": {
"type": "string"
}
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"checkout_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Checkout Url",
"default": null
}
}
},
"ProductOptionValueContract": {
"type": "object",
"title": "ProductOptionValueContract",
"required": [
"label"
],
"properties": {
"label": {
"type": "string",
"title": "Label"
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
}
}
}
},
"title": "CompleteLookResultContract",
"required": [
"store",
"message",
"subject"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "complete_look_result"
},
"pairs": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductContract"
},
"title": "Pairs"
},
"store": {
"$ref": "#/$defs/StoreSummaryContract"
},
"message": {
"type": "string",
"title": "Message"
},
"notices": {
"type": "array",
"items": {
"type": "string"
},
"title": "Notices"
},
"subject": {
"$ref": "#/$defs/ProductContract"
},
"accessories": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductContract"
},
"title": "Accessories"
},
"initialProductId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Initialproductid",
"default": null
},
"pairsEmptyMessage": {
"type": "string",
"title": "Pairsemptymessage",
"default": "There are no products to pair with this item."
},
"supplementaryTitle": {
"type": "string",
"title": "Supplementarytitle",
"default": "Accessories you’ll love"
},
"accessoriesEmptyMessage": {
"type": "string",
"title": "Accessoriesemptymessage",
"default": "No accessories are currently available."
}
}
},
"annotations": {
"title": "Show products that complete the look",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "render_product_search",
"title": "Render product search",
"description": "Search Trailberg Ireland and render the interactive product carousel. Pass the shopper's product wording through in query without rewriting it. When the shopper states a budget, provide min_price and/or max_price in major currency units; use both with the same value only for an exact price. For one requested category or concept, call this tool exactly once and do not repeat or rephrase the search. If no products are returned, show the empty result and ask before trying a different query or relaxing constraints. For multiple explicitly requested categories, use one faithful combined search when possible; otherwise call this tool once per distinct category. Do not create separate searches for synonyms, colours, styles, audiences, or alternative wording. Use this for browsing or discovery, not as a preliminary lookup for an exact product-detail request. Do not automatically open product-detail tools for returned products to rank, compare, validate, or explain the results. For products to pair or match with a referenced item, use render_complete_the_look instead.",
"inputSchema": {
"type": "object",
"title": "render_product_searchArguments",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 10,
"minimum": 1,
"description": "Maximum products to return."
},
"query": {
"type": "string",
"title": "Query",
"minLength": 1,
"description": "The shopper's product wording, passed to Shopify unchanged."
},
"currency": {
"anyOf": [
{
"type": "string",
"maxLength": 3,
"minLength": 3
},
{
"type": "null"
}
],
"title": "Currency",
"default": null,
"description": "ISO 4217 currency code."
},
"max_price": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Max Price",
"default": null,
"description": "Optional maximum price in major currency units."
},
"min_price": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Min Price",
"default": null,
"description": "Optional minimum price in major currency units."
},
"buyer_context": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Buyer Context",
"default": null
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"MoneyContract": {
"type": "object",
"title": "MoneyContract",
"required": [
"amount",
"currency",
"display"
],
"properties": {
"amount": {
"type": "number",
"title": "Amount"
},
"display": {
"type": "string",
"title": "Display"
},
"currency": {
"type": "string",
"title": "Currency"
}
}
},
"PriceContract": {
"type": "object",
"title": "PriceContract",
"properties": {
"onSale": {
"type": "boolean",
"title": "Onsale",
"default": false
},
"current": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"discount": {
"anyOf": [
{
"$ref": "#/$defs/DiscountContract"
},
{
"type": "null"
}
],
"default": null
},
"original": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
}
}
},
"ProductContract": {
"type": "object",
"title": "ProductContract",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"price": {
"anyOf": [
{
"$ref": "#/$defs/PriceContract"
},
{
"type": "null"
}
],
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"badges": {
"type": "array",
"items": {
"type": "string"
},
"title": "Badges"
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"title": "Images"
},
"rating": {
"anyOf": [
{
"$ref": "#/$defs/ProductRatingContract"
},
{
"type": "null"
}
],
"default": null
},
"options": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductOptionContract"
},
"title": "Options"
},
"storeUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Storeurl",
"default": null
},
"variants": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductVariantContract"
},
"title": "Variants"
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"collections": {
"type": "array",
"items": {
"$ref": "#/$defs/CollectionContract"
},
"title": "Collections"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description",
"default": null
},
"primaryImage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Primaryimage",
"default": null
},
"variantSummary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Variantsummary",
"default": null
}
}
},
"DiscountContract": {
"type": "object",
"title": "DiscountContract",
"properties": {
"display": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Display",
"default": null
},
"percentage": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Percentage",
"default": null
}
}
},
"CollectionContract": {
"type": "object",
"title": "CollectionContract",
"required": [
"title"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Id",
"default": null
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"title": {
"type": "string",
"title": "Title"
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Handle",
"default": null
}
}
},
"SearchQueryContract": {
"type": "object",
"title": "SearchQueryContract",
"required": [
"original",
"normalized",
"limit",
"intent"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit"
},
"intent": {
"$ref": "#/$defs/SearchIntentContract"
},
"original": {
"type": "string",
"title": "Original"
},
"normalized": {
"type": "string",
"title": "Normalized"
}
}
},
"SearchIntentContract": {
"type": "object",
"title": "SearchIntentContract",
"required": [
"original",
"normalized"
],
"properties": {
"colors": {
"type": "array",
"items": {
"type": "string"
},
"title": "Colors"
},
"fabrics": {
"type": "array",
"items": {
"type": "string"
},
"title": "Fabrics"
},
"seasons": {
"type": "array",
"items": {
"type": "string"
},
"title": "Seasons"
},
"original": {
"type": "string",
"title": "Original"
},
"occasions": {
"type": "array",
"items": {
"type": "string"
},
"title": "Occasions"
},
"normalized": {
"type": "string",
"title": "Normalized"
},
"explicitGender": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Explicitgender",
"default": null
},
"explicitCategory": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Explicitcategory",
"default": null
}
}
},
"StoreSummaryContract": {
"type": "object",
"title": "StoreSummaryContract",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
}
}
},
"ProductOptionContract": {
"type": "object",
"title": "ProductOptionContract",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"values": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductOptionValueContract"
},
"title": "Values"
}
}
},
"ProductRatingContract": {
"type": "object",
"title": "ProductRatingContract",
"required": [
"average",
"count"
],
"properties": {
"count": {
"type": "integer",
"title": "Count"
},
"average": {
"type": "number",
"title": "Average"
},
"scaleMax": {
"type": "number",
"title": "Scalemax",
"default": 5
},
"scaleMin": {
"type": "number",
"title": "Scalemin",
"default": 1
}
}
},
"ProductVariantContract": {
"type": "object",
"title": "ProductVariantContract",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"sku": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sku",
"default": null
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image",
"default": null
},
"price": {
"anyOf": [
{
"$ref": "#/$defs/MoneyContract"
},
{
"type": "null"
}
],
"default": null
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title",
"default": null
},
"options": {
"type": "object",
"title": "Options",
"additionalProperties": {
"type": "string"
}
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
},
"checkout_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Checkout Url",
"default": null
}
}
},
"SearchCandidateContract": {
"type": "object",
"title": "SearchCandidateContract",
"required": [
"query",
"source",
"weight"
],
"properties": {
"query": {
"type": "string",
"title": "Query"
},
"source": {
"type": "string",
"title": "Source"
},
"weight": {
"type": "number",
"title": "Weight"
},
"productCount": {
"type": "integer",
"title": "Productcount",
"default": 0
}
}
},
"ProductOptionValueContract": {
"type": "object",
"title": "ProductOptionValueContract",
"required": [
"label"
],
"properties": {
"label": {
"type": "string",
"title": "Label"
},
"available": {
"type": "boolean",
"title": "Available",
"default": true
}
}
}
},
"title": "ProductSearchResultContract",
"required": [
"store",
"message",
"matchType",
"query"
],
"properties": {
"type": {
"type": "string",
"title": "Type",
"default": "product_search_result"
},
"query": {
"$ref": "#/$defs/SearchQueryContract"
},
"store": {
"$ref": "#/$defs/StoreSummaryContract"
},
"message": {
"type": "string",
"title": "Message"
},
"products": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductContract"
},
"title": "Products"
},
"matchType": {
"type": "string",
"title": "Matchtype"
},
"explanation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Explanation",
"default": null
},
"resultCount": {
"type": "integer",
"title": "Resultcount",
"default": 0
},
"suggestions": {
"type": "array",
"items": {
"type": "string"
},
"title": "Suggestions"
},
"rawResultCount": {
"type": "integer",
"title": "Rawresultcount",
"default": 0
},
"recommendedView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Recommendedview",
"default": null
},
"searchCandidates": {
"type": "array",
"items": {
"$ref": "#/$defs/SearchCandidateContract"
},
"title": "Searchcandidates"
},
"resolvedProductId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Resolvedproductid",
"default": null
},
"totalCandidateResults": {
"type": "integer",
"title": "Totalcandidateresults",
"default": 0
}
}
}
}