update_quantity
Update the quantity of a product in your Leclerc Drive cart. Set 0 to remove it.
Instructions
Modifie la quantité d'un produit déjà présent dans le panier.
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": {
"product_id": "<product_id>",
"quantity": "<quantity>"
},
"name": "update_quantity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | Nouvelle quantité (0 pour retirer) | |
| product_id | Yes | Identifiant produit |