lufa_remove_from_basket
Remove a specified quantity of a product from your Lufa Farms grocery basket. Provide product ID and quantity to adjust or clear cart items.
Instructions
Remove a quantity of a product from the basket.
Requires an active session.
Args: product_id: Product ID to remove. quantity: Number of units to remove (default 1). Pass a value >= the current basket quantity to remove the line entirely.
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>"
},
"name": "lufa_remove_from_basket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | ||
| product_id | Yes |