← WebMCP Directory

Tool tree

paypal-webmcp-shop.sandbricks.workers.dev

CommerceTools verified
Website
Lin's Tea Corner
Explore capabilities
    search_productsAnswer

    Search the shop catalog by keyword. Returns matching products with id, name, price, currency and stock.

    View tool JSON
    {
      "name": "search_products",
      "kind": "answer",
      "impl": "imperative",
      "description": "Search the shop catalog by keyword. Returns matching products with id, name, price, currency and stock.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "keyword; empty string lists all"
          },
          "max_price": {
            "type": "number"
          }
        },
        "required": [
          "query"
        ]
      },
      "page": "/"
    }
    get_productAnswer

    Get full details of one product by id.

    View tool JSON
    {
      "name": "get_product",
      "kind": "answer",
      "impl": "imperative",
      "description": "Get full details of one product by id.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ]
      },
      "page": "/"
    }
    add_to_cartAction

    Add a product to the cart (or change its quantity). Returns the cart.

    View tool JSON
    {
      "name": "add_to_cart",
      "kind": "act",
      "impl": "imperative",
      "description": "Add a product to the cart (or change its quantity). Returns the cart.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "qty": {
            "type": "integer",
            "minimum": 1
          }
        },
        "required": [
          "id"
        ]
      },
      "page": "/"
    }
    view_cartAction

    Show current cart lines and total.

    View tool JSON
    {
      "name": "view_cart",
      "kind": "act",
      "impl": "imperative",
      "description": "Show current cart lines and total.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/"
    }
    create_checkoutSensitive Action

    Create a PayPal (sandbox) order for the cart. Returns order id and the approval link the human buyer must open to pay. The agent never pays by itself.

    View tool JSON
    {
      "name": "create_checkout",
      "kind": "transact",
      "impl": "imperative",
      "description": "Create a PayPal (sandbox) order for the cart. Returns order id and the approval link the human buyer must open to pay. The agent never pays by itself.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/"
    }
    get_order_statusAnswer

    Get the status of a PayPal order by id (CREATED, APPROVED, COMPLETED...).

    View tool JSON
    {
      "name": "get_order_status",
      "kind": "answer",
      "impl": "imperative",
      "description": "Get the status of a PayPal order by id (CREATED, APPROVED, COMPLETED...).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "order_id": {
            "type": "string"
          }
        },
        "required": [
          "order_id"
        ]
      },
      "page": "/"
    }
    capture_orderSensitive Action

    Capture (complete) a PayPal order AFTER the human buyer approved it. Fails unless status is APPROVED.

    View tool JSON
    {
      "name": "capture_order",
      "kind": "transact",
      "impl": "imperative",
      "description": "Capture (complete) a PayPal order AFTER the human buyer approved it. Fails unless status is APPROVED.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "order_id": {
            "type": "string"
          }
        },
        "required": [
          "order_id"
        ]
      },
      "page": "/"
    }