coupon_detail
Retrieve detailed information about a specific coupon, including its current status, face value, expiration date, and usage count. This tool helps verify coupon validity and track redemption history.
Instructions
查询单张券码的详细信息,包括状态、面值、有效期、核销次数。
对应 HTTP API: POST /coupon/detail
券码状态: 4=未使用, 10=已使用, 20=已过期, 30=已作废
Args: coupon_code: 券码(如 "CC20260301A001")
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": {
"coupon_code": "<coupon_code>"
},
"name": "coupon_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coupon_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |