Explain a voucher
explain_voucherExplain a Digidip/global voucher by id or by code (+ optional merchant). Returns code, rules summary, expiry, last_verified, stackable/new_customer hints when inferable, and ALWAYS url + go_url together for the user.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "explain_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Voucher document id. | |
| code | No | Voucher code when id is unknown. | |
| merchant | No | Advertiser name or domain to disambiguate code. |