← Back to all apps

Carrefour

E Commerceby Carrefour
Launched Jul 28, 2026 on ChatGPT

Une idée de recette, un événement à venir, le plein de courses… demandez à Claude, Carrefour vous répond !

  • Planifiez sans effort : transformez une idée en panier, en un instant.
  • Budget maîtrisé : profitez de vos avantages Club et cagnottez à toutes les courses.
  • Zéro stress : finalisez en un clic votre commande sur le site Carrefour.fr
10ChatGPT Tools
8Claude Tools
CarrefourDeveloper
E CommerceCategory

Use Cases

e-commerce

Available Tools

Add to Cart

add_to_cart
Full Description

Add one or more products to the shopping cart by their EAN. Accepts a list of {gtin, quantity} objects — works for a single item or a batch. Handles bulk additions in one request instead of calling the tool repeatedly. IMPORTANT: EANs MUST come from search_products, search_multiple_products, or get_substitutions results. When a request lists specific EANs (e.g. after the customer replaced items with substitutes in the list widget), add EXACTLY those EANs — never swap them back to the original search results, and never fabricate or guess an EAN. IMPORTANT: ALWAYS ask the user for explicit confirmation before adding products to their cart. Never add to cart without user consent. After execution, a cart summary widget automatically displays ALL items in the cart with quantities, prices, total, and a link to the Carrefour cart. EXCEPTION: when this tool was invoked by the app (the customer pressed 'Add to cart' in the product widget) instead of by you, that call renders NO widget. In that case the products are ALREADY in the cart: call get_cart with the provided cart_id to display the cart summary, and never re-run add_to_cart. Do not display cart links in text — the widget handles it. A new cart is created automatically on the first call. Reuse the returned cart_id for subsequent calls. Prerequisites: search_products (to obtain EANs).

Parameters (2 required, 3 optional)
Required
facility_service_idstring

The facility_service_id from the selected store.

productsarray

A list of products to add to the cart (max 100).

Optional
cart_idstring

The cart_id from a previous add_to_cart call. Omit on the first call to auto-create a new cart.

service_typestring

The pickup mode set by set_pickup_mode (DRIVE for store pickup, LAD for home delivery). Pass the value returned by set_pickup_mode or auto_select_delivery_location.

Options:DRIVELAD
store_namestring

The name of the selected store (from set_store response).

Auto-Select Delivery Location

auto_select_delivery_location
Full Description

Validate the customer's delivery address and AUTO-SELECT the most relevant Carrefour fulfillment center on their behalf. The user does NOT pick a store. Use this tool ONLY when pickup_mode is LAD (home delivery). For DRIVE, use search_store. Prerequisites: set_pickup_mode must be called first with mode 'LAD'. IMPORTANT: provide a full address (street + postal code + city) for precise geocoding.

Returns the chosen fulfillment center in structuredContent.auto_selected_store — chain set_store with it — together with min_order_amount and a ready-made min_order_message when the delivery minimum order is known. That minimum is indicative only: it never blocks the order.

Parameters (1 required, 1 optional)
Required
querystring

Full delivery address (street + postal code + city) to geocode.

Optional
radiusnumber

The search radius in meters (default 30km, max 30km).

Default: 30000

Get Cart

get_cart
Full Description

Display the customer's current Carrefour cart. READ-ONLY — it adds, removes and changes nothing, so it is safe to run at any time. It renders the shopping-list widget filled with the cart's own lines instead of a search result: there is no separate cart widget, and a cart described in text does not produce one. The widget it renders does not push anything back to the cart — what it shows already is the cart — and it carries structuredContent.cart_in_carrefour_link as the way to finish the order on Carrefour.fr. Pass the cart_id when it is known; otherwise it is derived from the session. Each basket carries its totals: products_total_price (the offers alone), services_total_price (delivery fee and/or returnable bags), bags_deposit_price (the returnable-bag share of the services), and grand_total_price (products + services). What the customer is told is structuredContent.total_with_bags_deposit: the offers plus the bag deposit, which is exactly the figure the widget puts on screen.

Parameters (0 required, 3 optional)
Optional
cart_idstring

The cart_id to display. Omit to use the current session's cart.

facility_service_idstring

The facility_service_id of the selected store, used to rebuild the products shown in the widget.

service_typestring

The pickup mode (DRIVE for store pickup, LAD for home delivery).

Options:DRIVELAD

Get Substitutions

get_substitutions
Full Description

Get the list of substitute products for a given product EAN. Used by the shopping-list widget to populate the inline substitution accordion. Returns purchasable alternatives only (image, title, brand, format, price, nutriscore, offerServiceId).

Parameters (1 required)
Required
gtinstring

The EAN of the product the customer wants to replace.

Get User Info

get_user_info
Full Description

Gets the current user's information (their 'uid_local' Carrefour customer identifier).

The result always carries an auth_status field in structuredContent: signed_in (with uid_local), signed_out, or unknown when the identity provider could not be reached. On failure the result also carries error and next_action — follow next_action and never treat a failure as a signed-out user unless auth_status actually says signed_out.

Search Multiple Products

search_multiple_products
Full Description

Search for MULTIPLE products at once using a list of keywords (e.g., ["milk", "bread", "eggs"]). Use when customer mentions several items in one request. Pass ALL keywords in a SINGLE call — there is no per-call limit; do not split a shopping list into multiple calls. Handles batch searches in one request instead of calling search_products multiple times. Prerequisites: search_store and set_store must be completed first.

Parameters (2 required, 3 optional)
Required
facility_service_idstring

The facility_service_id from the selected store.

keywordsarray

The keywords to search for in product titles.

Optional
cart_idstring

The cart_id from a previous add_to_cart call. When provided alongside service_type=LAD, the widget displays the current delivery fee. Omit on the first search before any cart exists.

list_idstring

The list_id returned by a previous product search. Pass it to keep building the SAME shopping list — products accumulate across searches into one list. Omit only on the very first search of the conversation.

service_typestring

The pickup mode set by set_pickup_mode (DRIVE for store pickup, LAD for home delivery). Pass the value returned by set_pickup_mode or auto_select_delivery_location.

Options:DRIVELAD

Search articles from Carrefour Products Database

search_products
Full Description

Search for a SINGLE product by keyword (e.g., "milk", "bread", "shampoo") in the selected Carrefour store's inventory. Use when customer asks for ONE specific product or category. Prerequisites: search_store and set_store must be completed first. Returns: matching products with EAN for adding to cart. The widget it renders is a browse view: nothing reaches the cart until the customer presses Ajouter on a product. It builds no shopping list — that is search_multiple_products.

Parameters (3 required, 2 optional)
Required
facility_service_idstring

The facility_service_id from the selected store.

keywordstring

The product name to search for (e.g., "tomate", "lait"). Must be a product name only. NEVER include in keywords: price/promotion/nutriscore filters, origin (except intrinsic), linking words ("à", "de", "du", "en"), format descriptors (grand format, conserve, frais, en boite).

limitinteger

The maximum number of products to return (max 15).

Optional
cart_idstring

The cart_id from a previous add_to_cart call. When provided, the widget displays the current delivery fee (home delivery carts only). Omit on the first search before any cart exists.

service_typestring

The pickup mode set by set_pickup_mode (DRIVE for store pickup, LAD for home delivery). Pass the value returned by set_pickup_mode or auto_select_delivery_location.

Options:DRIVELAD

Locate Carrefour Stores

search_store
Full Description

Find nearby Carrefour stores based on customer location (address, city, or postal code) and let the customer pick one on a map. Use ONLY when pickup_mode is DRIVE (store pickup). For LAD (home delivery), use auto_select_delivery_location instead — that tool auto-selects the fulfillment center and shows no map (the user has no choice to make in delivery mode). Prerequisites: set_pickup_mode must be called first. Returns: list of stores; the user picks one, then call set_store with the chosen store.

Parameters (2 required, 1 optional)
Required
querystring

Location query: address, city, or postal code to search for nearby stores.

serviceTypestring

The type of service to search for (e.g., DRIVE).

Optional
radiusnumber

The search radius in meters (default 30km, max 30km).

Default: 30000

Set Pickup Mode

set_pickup_mode
Full Description

Set the delivery mode for the customer order: LAD (home delivery) or DRIVE (store pickup). Call this FIRST when a customer begins interacting — it determines which stores are available. If the customer changes pickup mode later, verify the location type matches the new mode (full address for LAD, city/postal code for DRIVE).

Parameters (1 required)
Required
pickup_modestring

The pickup mode to set. Possible values are: LAD, DRIVE.

Set Store

set_store
Full Description

Confirm and lock in the customer's selected Carrefour store for their order. Use this after search_store when customer has chosen their preferred location. This selection is required before searching products or adding to cart.

Returns the sanitized store in structuredContent.store, including its openingHours (a Mon→Sun weekly summary) when known, and — when the store defines a minimum order amount — a ready-made confirmation sentence in structuredContent.user_message. Once this tool succeeds the store stays selected for the session: search_store does not need to be called again to look up the store's details or its opening hours.

Parameters (1 required)
Required
storeobject

The store to be set.