add_to_cart
Add a product to a Carrefour Drive cart by product ID or URL, with optional quantity to set how many to order.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productId": "<productId>"
},
"name": "add_to_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | Quantité (défaut: 1) | |
| productId | Yes | ID ou URL du produit à ajouter |