Remove cart line
cart_removeRemove a single cart line by lineKey or linkId to update or correct a KFC China order before checkout.
Instructions
Remove one line from the cart by lineKey or linkId. 删除购物车中的一行。
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": {
"lineKey": "<lineKey>"
},
"name": "cart_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lineKey | Yes | cart_view 返回的 lineKey(也可以用 linkId) |