← WebMCP Directory

Tool tree

energiapatagonia.cl

CommerceTools verified
Website
Energía Patagonia
Explore capabilities

    page: Every page

    search_catalogAnswer

    Search this store's catalogue by keyword. Returns name, price, stock and a link for each match. Use this FIRST whenever the shopper names something specific they want. It does not open anything or change the cart: call get_product for detail, add_to_cart to buy.

    View tool JSON
    {
      "name": "search_catalog",
      "kind": "answer",
      "impl": "imperative",
      "description": "Search this store's catalogue by keyword. Returns name, price, stock and a link for each match. Use this FIRST whenever the shopper names something specific they want. It does not open anything or change the cart: call get_product for detail, add_to_cart to buy.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "What to search for, in the shopper's own words"
          },
          "limit": {
            "type": "integer",
            "description": "Maximum results to return (default and maximum 20)"
          }
        },
        "required": [
          "query"
        ]
      },
      "page": "/estructuras"
    }
    browse_storeAction

    Browse the store the way a shopper would. Called with no arguments it lists the categories the merchant features in the store navigation; called with a category permalink it lists that category's products, with name, price and a link. Stock is not included here - call get_product before adding anything from a category listing. Use it when the shopper is exploring rather than looking for something specific.

    View tool JSON
    {
      "name": "browse_store",
      "kind": "act",
      "impl": "imperative",
      "description": "Browse the store the way a shopper would. Called with no arguments it lists the categories the merchant features in the store navigation; called with a category permalink it lists that category's products, with name, price and a link. Stock is not included here - call get_product before adding anything from a category listing. Use it when the shopper is exploring rather than looking for something specific.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "Category permalink from a previous browse_store call. Omit to list the categories."
          }
        }
      },
      "page": "/estructuras"
    }
    get_productAnswer

    Get one product's details, OR open it in the browser. Returns description, price, stock, and for a product with variants every option and the values it accepts under "options" - not the combinations themselves; use show_variant for a specific one. Set navigate=true when the shopper wants to SEE the product ("show me", "open", "view", "take me to"). Leave it false, the default, when you need data to answer a question or to prepare an add_to_cart - the browser then stays where it is. Does NOT add anything to the cart; use add_to_cart for that.

    View tool JSON
    {
      "name": "get_product",
      "kind": "answer",
      "impl": "imperative",
      "description": "Get one product's details, OR open it in the browser. Returns description, price, stock, and for a product with variants every option and the values it accepts under \"options\" - not the combinations themselves; use show_variant for a specific one. Set navigate=true when the shopper wants to SEE the product (\"show me\", \"open\", \"view\", \"take me to\"). Leave it false, the default, when you need data to answer a question or to prepare an add_to_cart - the browser then stays where it is. Does NOT add anything to the cart; use add_to_cart for that.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product": {
            "type": "string",
            "description": "The product's id or permalink, as returned by search_catalog or browse_store. A variant id is accepted too and answers about the product it belongs to."
          },
          "navigate": {
            "type": "boolean",
            "description": "Open the product page. Default false: the shopper stays where they are."
          }
        },
        "required": [
          "product"
        ]
      },
      "page": "/estructuras"
    }
    show_variantAction

    Show one specific variant of a product on the page, chosen by its option values, and report its price and stock. Opens the product page with that variant selected, so the shopper sees what is being discussed. Use it after get_product to resolve a combination.

    View tool JSON
    {
      "name": "show_variant",
      "kind": "act",
      "impl": "imperative",
      "description": "Show one specific variant of a product on the page, chosen by its option values, and report its price and stock. Opens the product page with that variant selected, so the shopper sees what is being discussed. Use it after get_product to resolve a combination.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product": {
            "type": "string",
            "description": "The product's id or permalink. A variant id may be given instead, and then options can be left out: it already names one variant."
          },
          "options": {
            "type": "object",
            "description": "The values to show, as {option name: value}, e.g. {\"Size\": \"M\", \"Colour\": \"Purple\"}. Values come from get_product's \"options\"; matching ignores case, and a partial selection is fine: the first available variant matching it is shown.",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "required": [
          "product"
        ]
      },
      "page": "/estructuras"
    }
    get_cartAnswer

    Read the shopper's current cart: line items, quantities, discounts, shipping and total. This is the same cart shown on screen, so read it before answering anything about what they are buying rather than relying on what was said earlier in the conversation.

    View tool JSON
    {
      "name": "get_cart",
      "kind": "answer",
      "impl": "imperative",
      "description": "Read the shopper's current cart: line items, quantities, discounts, shipping and total. This is the same cart shown on screen, so read it before answering anything about what they are buying rather than relying on what was said earlier in the conversation.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/estructuras"
    }
    add_to_cartAction

    Add a product to the shopper's cart, which updates on screen immediately. A variant id names what to add on its own; otherwise, for a product with variants, pass the option value ids from get_product's "options" - and if the shopper has not chosen yet, ask them, or call show_variant to show one first. Adding does not start checkout - use proceed_to_checkout when they are ready to pay.

    View tool JSON
    {
      "name": "add_to_cart",
      "kind": "act",
      "impl": "imperative",
      "description": "Add a product to the shopper's cart, which updates on screen immediately. A variant id names what to add on its own; otherwise, for a product with variants, pass the option value ids from get_product's \"options\" - and if the shopper has not chosen yet, ask them, or call show_variant to show one first. Adding does not start checkout - use proceed_to_checkout when they are ready to pay.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product": {
            "type": "string",
            "description": "What to add: a variant id, or a product's id or permalink from search_catalog, browse_store or get_product."
          },
          "qty": {
            "type": "integer",
            "description": "Quantity to add (default 1)"
          },
          "options": {
            "type": "object",
            "description": "Variant selection as {option name: value}, e.g. {\"Size\": \"M\", \"Colour\": \"Purple\"}. Matching ignores case. Omit for products without variants, or when a variant id was given.",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "required": [
          "product"
        ]
      },
      "page": "/estructuras"
    }
    update_cart_itemAction

    Change the quantity of a line already in the cart, or remove it by setting the quantity to 0. Use the cart_item_id from get_cart, not the product id.

    View tool JSON
    {
      "name": "update_cart_item",
      "kind": "act",
      "impl": "imperative",
      "description": "Change the quantity of a line already in the cart, or remove it by setting the quantity to 0. Use the cart_item_id from get_cart, not the product id.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "cart_item_id": {
            "type": "integer",
            "description": "The line's cart_item_id from get_cart"
          },
          "qty": {
            "type": "integer",
            "description": "New quantity; 0 removes the line"
          }
        },
        "required": [
          "cart_item_id",
          "qty"
        ]
      },
      "page": "/estructuras"
    }
    estimate_shippingAction

    What the store can ship to a destination and what it costs, for the cart as it stands. Ask for it when the shopper wants to know the delivery cost or time before they check out - it is the question that most often decides whether they finish. Needs a country and a region; a postal code makes the estimate exact where the store charges by it.

    View tool JSON
    {
      "name": "estimate_shipping",
      "kind": "act",
      "impl": "imperative",
      "description": "What the store can ship to a destination and what it costs, for the cart as it stands. Ask for it when the shopper wants to know the delivery cost or time before they check out - it is the question that most often decides whether they finish. Needs a country and a region; a postal code makes the estimate exact where the store charges by it.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string",
            "description": "Two-letter ISO 3166-1 country code, e.g. PT, CL, US"
          },
          "region": {
            "type": "string",
            "description": "Region, state or province, as the store's checkout names it"
          },
          "postal": {
            "type": "string",
            "description": "Postal or ZIP code, when known"
          },
          "city": {
            "type": "string",
            "description": "City, when known"
          },
          "municipality": {
            "type": "string",
            "description": "Municipality, where the store uses one"
          }
        },
        "required": [
          "country",
          "region"
        ]
      },
      "page": "/estructuras"
    }
    apply_couponAction

    Apply a discount coupon code to the cart and report the resulting total.

    View tool JSON
    {
      "name": "apply_coupon",
      "kind": "act",
      "impl": "imperative",
      "description": "Apply a discount coupon code to the cart and report the resulting total.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "The coupon code to apply"
          }
        },
        "required": [
          "code"
        ]
      },
      "page": "/estructuras"
    }
    cancel_cartAction

    Empty the shopper's cart, removing every item and any coupon. ALWAYS confirm with the shopper first: this discards everything they chose and cannot be undone. To remove a single line use update_cart_item with qty 0 instead.

    View tool JSON
    {
      "name": "cancel_cart",
      "kind": "act",
      "impl": "imperative",
      "description": "Empty the shopper's cart, removing every item and any coupon. ALWAYS confirm with the shopper first: this discards everything they chose and cannot be undone. To remove a single line use update_cart_item with qty 0 instead.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/estructuras"
    }
    get_recommended_productsAnswer

    Products this store recommends alongside what is already in the cart. Use it to suggest genuinely related items before checkout.

    View tool JSON
    {
      "name": "get_recommended_products",
      "kind": "answer",
      "impl": "imperative",
      "description": "Products this store recommends alongside what is already in the cart. Use it to suggest genuinely related items before checkout.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/estructuras"
    }
    proceed_to_checkoutAction

    Open checkout so the shopper can review and pay. Use it when they say they are done. You CANNOT place the order or enter payment details, and no tool here can: the shopper completes the purchase themselves. Once this returns, stop - do not navigate again and do not tell them the order was placed.

    View tool JSON
    {
      "name": "proceed_to_checkout",
      "kind": "act",
      "impl": "imperative",
      "description": "Open checkout so the shopper can review and pay. Use it when they say they are done. You CANNOT place the order or enter payment details, and no tool here can: the shopper completes the purchase themselves. Once this returns, stop - do not navigate again and do not tell them the order was placed.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/estructuras"
    }