quickOrder
Turn a natural language drink description into an order preview with draftId for confirmation.
Instructions
一句话点瑞幸:自然语言描述饮品(如「大杯冰美式不加糖」),自动用常用门店和口味偏好,返回订单预览和 draftId。不会直接下单,需用户确认后调 confirmOrder。
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": {
"query": "<query>"
},
"name": "quickOrder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | 饮品描述,可含杯型/温度/糖度 | |
| shopName | No | 门店名,缺省用常用门店 | |
| amount | No | 杯数,默认 1 |