remove_from_cart
Remove specific items from a shopping cart by their line item IDs. Enables AI assistants to delete products from the cart via natural language.
Instructions
Remove specific items from a Wonderkraftz shopping cart by their line item IDs.
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": {
"cartId": "<cartId>",
"lineIds": "<lineIds>"
},
"name": "remove_from_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cartId | Yes | Cart ID | |
| lineIds | Yes | Cart line item IDs to remove |