You're viewing a demo portfolio

Join the waitlist
PRSM

update_cart

Active

Tool of Custom Blinds Shop

declared in 1.0.0

Modify an open cart before checkout. op: 'add' appends items, 'remove' drops items by 0-based index, 'set' replaces the full item list, 'clear' empties the cart. Merges customer details (name, email, phone) via the customer field. Call get_cart afterwards to confirm. Cannot modify a cart that already has a checkout in progress.

Parameters schema

{
  "type": "object",
  "required": [
    "cart_id"
  ],
  "properties": {
    "op": {
      "enum": [
        "add",
        "remove",
        "set",
        "clear"
      ],
      "type": "string"
    },
    "items": {
      "type": "array"
    },
    "cart_id": {
      "type": "string"
    },
    "indices": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "Item indices to remove (0-based) when op='remove'"
    },
    "customer": {
      "type": "object"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

Custom Blinds Shop

https://github.com/CustomBlinds/cb-shop-mcp

1/7 registries
View full server →