Get discount code
split_get_discount_codeOne discount code's detail, or with items: true the products it applies to — worth showing before the creator shares it.
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": {
"id": "<id>"
},
"name": "split_get_discount_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| items | No | Return covered products instead of the code detail |