update_quantity
Update the quantity of a product in the Intermarché Drive basket. Set quantity to 0 to remove the product.
Instructions
Fixe la quantité absolue d'un produit du panier. Une quantité de 0 le retire.
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é absolue | |
| product_id | Yes | Identifiant produit |