update_cart_quantity
Set a new quantity for a product in the Carrefour Drive cart using its product ID and desired amount. Adjust cart items before checkout.
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>",
"quantity": "<quantity>"
},
"name": "update_cart_quantity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | Nouvelle quantité | |
| productId | Yes | ID du produit |