shangou_add_to_cart
Add a specified dish from a Taobao shop to the shopping cart. Provide shop ID or URL, dish name, and optional quantity.
Instructions
把某店铺的菜品加入购物车。参数 shop=店铺ID/URL;item=菜品名称;quantity=份数(默认1)。可能需先选规格,返回是否成功及截图。
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": {
"shop": "<shop>",
"item": "<item>"
},
"name": "shangou_add_to_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | 菜品名称 | |
| shop | Yes | 店铺ID或URL | |
| quantity | No | 份数,默认1 |