compare_prices
比較某商品在 momo、PChome 與台灣品牌官網的價格,回傳整體最低價、各通路最低價與候選清單。使用者問「哪裡買最便宜」「幫我比價」時使用。
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": "compare_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | 商品關鍵字,越精確越好,例如「SONY SRS-XB100」 |