query_product_coupon
查询淘宝、天猫、京东、拼多多、抖音等主流电商平台的商品优惠券、券后底价并生成转链领券购买信息
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": {
"content": "<content>"
},
"name": "query_product_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | 电商商品的分享文本、商品链接或淘口令 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | 商品标题 | |
| message | Yes | 查询结果提示 | |
| platform | No | 商品平台标识 | |
| copy_text | No | 购买口令或推广分享文案,可能为空,需原样使用 | |
| image_url | No | 商品图片地址 | |
| has_coupon | Yes | 是否有可用优惠券 | |
| promotable | Yes | 是否可生成推广购买入口;无券也可能为 true | |
| final_price | No | 预估券后价或当前参考价,单位元,并非全网最低价 | |
| coupon_amount | No | 优惠券金额,单位元,是否有券以 has_coupon 为准 | |
| platform_name | No | 商品平台名称 | |
| promotion_url | No | 推广购买链接,可能为空,需原样保留参数 | |
| original_price | No | 原始参考价,单位元,可能为空,不可自行倒推 | |
| coupon_condition | No | 优惠券使用条件或商品优惠说明 |