View cart
cart_viewDisplay current shopping cart lines, item quantities, and total; set refresh to true to re-read and verify the cart from KFC's server.
Instructions
Show cart lines, quantities and total. Set refresh=true to verify with KFC. 查看购物车,可从服务端刷新。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cart_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | 是否重新从肯德基服务器读取购物车 |