update_cart_line
Update the quantity of a cart line using its line ID; set quantity to 0 to delete the item.
Instructions
Fixe la quantité d'une ligne (line_id issu de view_cart). 0 supprime la ligne.
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": {
"line_id": "<line_id>",
"quantity": "<quantity>"
},
"name": "update_cart_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_id | Yes | ||
| quantity | Yes |