Place order
place_orderSubmit a confirmed KFC China order from a checkout preview using the phone, preview token, and expected total; amount mismatches are rejected and a real unpaid order may be created.
Instructions
Submit the previewed order to KFC China. Requires explicit user confirmation, phone, previewToken and expectedTotalCents. This may create a real unpaid order; payment and cross-session visibility are not verified. 提交可能产生真实未支付订单,必须由用户明确确认。
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": {
"confirm": "<confirm>",
"phone": "<phone>",
"previewToken": "<previewToken>",
"expectedTotalCents": "<expectedTotalCents>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | 取餐联系电话,11 位中国大陆手机号 | |
| remark | No | 备注,例如“不要辣”“少冰” | |
| confirm | Yes | 必须显式传 true,表示用餐人已确认门店/餐品/金额 | |
| packType | No | dinein=堂食(默认),takeaway=外带 | dinein |
| previewToken | Yes | preview_order 返回的 previewToken | |
| expectedTotalCents | Yes | 必填:用户明确确认的总金额(分),与预览不一致时拒绝下单 |