theprotoclinical.com
ProtoClinical
First seen 2026-08-17 · Last seen 2026-08-17 · Source: webmcp.com
Answer 4 · Act 6 · Transact 0 · Score: Not yet scored
Tool inspector
update_cart
Add products to the cart, update line item quantities, or remove items. Batch EVERY change for one request into a SINGLE call — line_items accepts up to 10 entries; do NOT call update_cart once per item. 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 line_items[].id from get_cart to update or remove an existing line, passing the ABSOLUTE target quantity (not a delta; quantity 0 removes the line). Use handle or query only when adding the selected or first available variant.
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 or update (1-10).",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Existing cart line id from get_cart. Use to update or remove an existing line. Omit when adding new items."
},
"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": "Quantity. Defaults to 1 for adds and updates. Set to 0 with an existing line id to remove it.",
"default": 1
}
}
}
}
}
}
}
}
Similar websites
birmakine.com
Bir Makine — Turkish marketplace for industrial machinery; browse current listings and find machines that fit your needs.
store.nekuda.ai
AI-native demo storefront
store.tryrankly.com
The official Rankly merch store — tees, polos, jackets, mugs, bottles, and everyday-carry for builders who care about craft. Ships internationally.
2ndface.info
2ndFace Tattoo — tattoo and piercing studio in Bucharest (Piața Unirii) offering custom tattoos, piercings, pricing, aftercare, and WhatsApp booking.