comfybedss.co.uk
Shop affordable beds, mattresses and headboards at ComfyBedss. Better sleep made easy with 0% finance, free 2-man delivery and unbeatable comfort for every home.
First seen 2026-09-28 · Last seen 2026-09-28 · Source: webmcp.com
Answer 4 · Act 7 · Transact 0 · Score: Not yet scored
Tool inspector
add_to_cart
Add products to the cart. Call this as soon as the user asks to ADD items (triggers: "add ... to my cart", "buy", "I'll take", "put ... in my basket") — in ONE call listing every item they named, up to the 10-entry limit. That request IS the authorization: do NOT ask the user to confirm before calling, and do NOT stop after search_catalog or get_product merely to report the variant you found — make the change, then tell the user it is done. Batch every item for ONE request into a SINGLE call — line_items accepts up to 10 entries; do NOT call add_to_cart once per item. Batching applies WITHIN a single request: each new thing the user asks for later is its own call. If one request names more than 10 items, split just that request into as few calls as possible. Do NOT retry a call that already returned a result: adds are cumulative, so repeating a call adds duplicate items. Use line_items[].item.id with a ProductVariant GID when the exact variant is known. Use handle or query only when adding the selected or first available variant. To change a quantity or remove something already in the cart, use update_cart_lines instead — this tool can only add.
Page: /
Input schema
| Property | Type | Required | Description |
|---|---|---|---|
cart |
object | yes | — |
Raw JSON schema
{
"type": "object",
"required": [
"cart"
],
"properties": {
"cart": {
"type": "object",
"required": [
"line_items"
],
"properties": {
"line_items": {
"type": "array",
"description": "Items to add (1-10).",
"minItems": 1,
"maxItems": 10,
"items": {
"type": "object",
"properties": {
"item": {
"type": "object",
"description": "The merchandise to add.",
"properties": {
"id": {
"type": "string",
"description": "ProductVariant GID from get_product variants[].id, e.g. \"gid://shopify/ProductVariant/123\"."
}
}
},
"handle": {
"type": "string",
"description": "Product handle. Adds the selected or first available variant; call get_product first if the user requested specific options."
},
"query": {
"type": "string",
"description": "Search query to find and add the selected or first available variant. For specific variants, call search_catalog/get_product first and pass item.id."
},
"quantity": {
"type": "integer",
"description": "How many to add. Defaults to 1.",
"minimum": 1,
"default": 1
}
}
}
}
}
}
}
}
Similar websites
camdentools.com
Construction tools and equipment
birmakine.com
Bir Makine — Turkish marketplace for industrial machinery; browse current listings and find machines that fit your needs.
vaanzari.com
Explore handcrafted Banarasi sarees from Vaanzari, with artisan provenance, woven traditions and thoughtful customer care in India and worldwide.
hobbyka.ru
Garden, park, and urban furniture manufacturer