{"ok":true,"protocol":"webmcp","module":"rkrbridgeagentic","version":"1.1.0","shop":{"id_shop":1,"name":"As de Trébol","locale":"en-US","currency":"EUR"},"execution":{"endpoint":"https://asdetrebol.com/en/module/rkrbridgeagentic/bridge","method":"POST","auth":"session-token","note":"Tool execution requires the token printed in the page of the visitor session."},"tools":[{"name":"store_context","title":"Store context","description":"Returns the live shopping context of this session: shop name, language, currency, country, cart summary, checkout URL and the list of store policy codes. Call it first to ground any shopping task.","group":"content","inputSchema":{"type":"object","properties":[],"required":[]},"outputSchema":{"type":"object","properties":{"shop":{"type":"object"},"currency":{"type":"object"},"cart":{"type":"object"},"urls":{"type":"object"}}},"annotations":{"readOnlyHint":true,"untrustedContentHint":true,"consequentialHint":false},"confirm":false,"login":false},{"name":"search_products","title":"Search products","description":"Searches the catalogue by keyword with optional category, price range and stock filters. Returns product ids, names, prices, availability and URLs that can be passed to product_details or cart_add.","group":"catalog","inputSchema":{"type":"object","properties":{"query":{"type":"string","maxLength":120,"description":"Keywords to look for in product names, references and codes."},"category":{"type":"integer","minimum":0,"description":"Restrict the search to this category id."},"price_min":{"type":"number","minimum":0,"description":"Minimum price, tax included, in the current currency."},"price_max":{"type":"number","minimum":0,"description":"Maximum price, tax included, in the current currency."},"in_stock":{"type":"boolean","description":"When true, only products available for immediate purchase are returned."},"sort":{"type":"string","enum":["relevance","price_asc","price_desc","name_asc","name_desc","newest"],"description":"Result ordering."},"limit":{"type":"integer","minimum":1,"maximum":20,"description":"Maximum number of products to return."},"page":{"type":"integer","minimum":1,"description":"Result page, starting at 1."}},"required":["query"]},"outputSchema":{"type":"object","properties":{"total":{"type":"integer"},"products":{"type":"array"}}},"annotations":{"readOnlyHint":true,"untrustedContentHint":true,"consequentialHint":false},"confirm":false,"login":false},{"name":"product_details","title":"Product details","description":"Reads one product sheet: description, price with and without tax, stock, combinations with their ids, images and product URL. Accepts a product id, a reference or a product URL.","group":"catalog","inputSchema":{"type":"object","properties":{"id_product":{"type":"integer","minimum":1,"description":"Product id returned by search_products."},"reference":{"type":"string","maxLength":64,"description":"Product reference or EAN code, used when the id is unknown."},"url":{"type":"string","maxLength":500,"description":"Absolute product URL of this shop."}},"required":[]},"outputSchema":null,"annotations":{"readOnlyHint":true,"untrustedContentHint":true,"consequentialHint":false},"confirm":false,"login":false},{"name":"product_stock","title":"Stock and availability","description":"Returns the available quantity and the availability label of a product or of one specific combination, including whether backorders are accepted.","group":"catalog","inputSchema":{"type":"object","properties":{"id_product":{"type":"integer","minimum":1,"description":"Product id."},"id_product_attribute":{"type":"integer","minimum":0,"description":"Combination id, when the product has variants."}},"required":["id_product"]},"outputSchema":null,"annotations":{"readOnlyHint":true,"untrustedContentHint":true,"consequentialHint":false},"confirm":false,"login":false},{"name":"cart_view","title":"View cart","description":"Reads the current shopper cart: line items with their ids, quantities, unit and total prices, discounts, shipping estimate and grand total. Never reads another customer cart.","group":"cart","inputSchema":{"type":"object","properties":[],"required":[]},"outputSchema":null,"annotations":{"readOnlyHint":true,"untrustedContentHint":true,"consequentialHint":false},"confirm":false,"login":false},{"name":"cart_add","title":"Add to cart","description":"Adds a product to the shopper cart in the current session. Requires the combination id when the product has variants. Does not place an order and never touches payment.","group":"cart","inputSchema":{"type":"object","properties":{"id_product":{"type":"integer","minimum":1,"description":"Product id to add."},"id_product_attribute":{"type":"integer","minimum":0,"description":"Combination id, mandatory when the product has variants."},"quantity":{"type":"integer","minimum":1,"maximum":10,"description":"Number of units to add."}},"required":["id_product"]},"outputSchema":null,"annotations":{"readOnlyHint":false,"untrustedContentHint":true,"consequentialHint":true},"confirm":true,"login":false},{"name":"cart_update","title":"Update cart line","description":"Sets the absolute quantity of an existing cart line of the current shopper. Use quantity 0 to remove the line.","group":"cart","inputSchema":{"type":"object","properties":{"id_product":{"type":"integer","minimum":1,"description":"Product id of the cart line."},"id_product_attribute":{"type":"integer","minimum":0,"description":"Combination id of the cart line."},"quantity":{"type":"integer","minimum":0,"maximum":10,"description":"Final quantity for this line."}},"required":["id_product","quantity"]},"outputSchema":null,"annotations":{"readOnlyHint":false,"untrustedContentHint":true,"consequentialHint":true},"confirm":true,"login":false},{"name":"cart_remove","title":"Remove from cart","description":"Removes one line from the shopper cart of the current session.","group":"cart","inputSchema":{"type":"object","properties":{"id_product":{"type":"integer","minimum":1,"description":"Product id of the line to remove."},"id_product_attribute":{"type":"integer","minimum":0,"description":"Combination id of the line to remove."}},"required":["id_product"]},"outputSchema":null,"annotations":{"readOnlyHint":false,"untrustedContentHint":true,"consequentialHint":true},"confirm":true,"login":false},{"name":"shipping_options","title":"Shipping options","description":"Lists the carriers available for the current cart and destination, with delivery wording and real shipping cost. Accepts a country iso code, a state and a postcode.","group":"shipping","inputSchema":{"type":"object","properties":{"country":{"type":"string","maxLength":8,"description":"Destination country iso code, for example ES or FR."},"id_state":{"type":"integer","minimum":0,"description":"State or province id, when the country has states."},"postcode":{"type":"string","maxLength":12,"description":"Destination postcode, used by carrier ranges."}},"required":[]},"outputSchema":null,"annotations":{"readOnlyHint":true,"untrustedContentHint":true,"consequentialHint":false},"confirm":false,"login":false},{"name":"store_policies","title":"Store policies","description":"Returns the merchant approved policy texts: shipping, returns, payment, privacy, terms and warranty, with their public URLs. Use it instead of guessing store rules.","group":"content","inputSchema":{"type":"object","properties":{"code":{"type":"string","maxLength":64,"description":"Policy code to read. Omit it to list every published policy."}},"required":[]},"outputSchema":null,"annotations":{"readOnlyHint":true,"untrustedContentHint":true,"consequentialHint":false},"confirm":false,"login":false},{"name":"checkout_go","title":"Go to checkout","description":"Returns the secure checkout URL of the current cart and asks the browser to navigate there. Payment and order confirmation always stay in the hands of the shopper.","group":"checkout","inputSchema":{"type":"object","properties":[],"required":[]},"outputSchema":null,"annotations":{"readOnlyHint":false,"untrustedContentHint":true,"consequentialHint":true},"confirm":true,"login":false},{"name":"order_history","title":"My orders","description":"Lists the orders of the logged in customer only: reference, date, status, total and tracking number. Returns an error for guest sessions.","group":"account","inputSchema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":20,"description":"Maximum number of orders to return."}},"required":[]},"outputSchema":null,"annotations":{"readOnlyHint":true,"untrustedContentHint":true,"consequentialHint":false},"confirm":false,"login":true}]}