← WebMCP Directory

Tool tree

webmcp.abhipanseriya.dev

CommerceTools verified
Website
WebMCP Demo
Explore capabilities
    search_productsAnswer

    Search the catalog by keyword, category, or price range, with optional sorting.

    View tool JSON
    {
      "name": "search_products",
      "kind": "answer",
      "impl": "imperative",
      "description": "Search the catalog by keyword, category, or price range, with optional sorting.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Keyword to match against name/description/category."
          },
          "category": {
            "type": "string",
            "enum": [
              "Electronics",
              "Home",
              "Apparel",
              "Books",
              "Outdoors"
            ],
            "description": "Restrict results to a single category."
          },
          "min_price": {
            "type": "number",
            "description": "Minimum price (inclusive)."
          },
          "max_price": {
            "type": "number",
            "description": "Maximum price (inclusive)."
          },
          "sort": {
            "type": "string",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc",
              "rating"
            ],
            "description": "Sort order for the results."
          }
        }
      },
      "page": "/"
    }
    get_productAnswer

    Get full details for a single product by id.

    View tool JSON
    {
      "name": "get_product",
      "kind": "answer",
      "impl": "imperative",
      "description": "Get full details for a single product by id.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string",
            "description": "The product id, e.g. \"p1\"."
          }
        },
        "required": [
          "product_id"
        ]
      },
      "page": "/"
    }
    add_to_cartAction

    Add a product to the shopping cart.

    View tool JSON
    {
      "name": "add_to_cart",
      "kind": "act",
      "impl": "imperative",
      "description": "Add a product to the shopping cart.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string",
            "description": "The product id to add."
          },
          "quantity": {
            "type": "number",
            "description": "Quantity to add (default 1)."
          }
        },
        "required": [
          "product_id"
        ]
      },
      "page": "/"
    }
    update_cart_itemAction

    Set the quantity of an item already in the cart (0 removes it).

    View tool JSON
    {
      "name": "update_cart_item",
      "kind": "act",
      "impl": "imperative",
      "description": "Set the quantity of an item already in the cart (0 removes it).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string",
            "description": "The product id already in the cart."
          },
          "quantity": {
            "type": "number",
            "description": "New quantity (0 removes the item)."
          }
        },
        "required": [
          "product_id",
          "quantity"
        ]
      },
      "page": "/"
    }
    remove_from_cartAction

    Remove a product from the cart.

    View tool JSON
    {
      "name": "remove_from_cart",
      "kind": "act",
      "impl": "imperative",
      "description": "Remove a product from the cart.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string",
            "description": "The product id to remove from the cart."
          }
        },
        "required": [
          "product_id"
        ]
      },
      "page": "/"
    }
    get_cartAnswer

    Get the current cart contents (line items + total).

    View tool JSON
    {
      "name": "get_cart",
      "kind": "answer",
      "impl": "imperative",
      "description": "Get the current cart contents (line items + total).",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/"
    }
    get_cart_totalAnswer

    Get the total price and item count of the cart.

    View tool JSON
    {
      "name": "get_cart_total",
      "kind": "answer",
      "impl": "imperative",
      "description": "Get the total price and item count of the cart.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/"
    }
    clear_cartAction

    Remove all items from the cart.

    View tool JSON
    {
      "name": "clear_cart",
      "kind": "act",
      "impl": "imperative",
      "description": "Remove all items from the cart.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/"
    }
    checkoutSensitive Action

    Place the order for the current cart and return an order confirmation.

    View tool JSON
    {
      "name": "checkout",
      "kind": "transact",
      "impl": "imperative",
      "description": "Place the order for the current cart and return an order confirmation.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/"
    }
    buy_nowSensitive Action

    Express-buy: immediately place an order for a single product (does not require it to be in the cart).

    View tool JSON
    {
      "name": "buy_now",
      "kind": "transact",
      "impl": "imperative",
      "description": "Express-buy: immediately place an order for a single product (does not require it to be in the cart).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string",
            "description": "The product id to buy immediately."
          },
          "quantity": {
            "type": "number",
            "description": "Quantity to buy (default 1)."
          }
        },
        "required": [
          "product_id"
        ]
      },
      "page": "/"
    }