update_drink_order
Update an existing drink order by providing its unique order ID and specifying which details to change, such as drink name, toppings, or specifications.
Instructions
修改已存在的訂單。當使用者提供訂單 ID 並要求更改內容時使用。
doc_id: 訂單的唯一 ID (從清單取得)。
其他參數與點餐工具相同,僅輸入需要修改的部分。
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": {
"doc_id": "<doc_id>"
},
"name": "update_drink_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| spec | No | ||
| doc_id | Yes | ||
| topping | No | ||
| drink_name | No |