List discount codes
agenta_discounts_listRetrieve a merchant's discount codes in AgentaOS with IDs, plan, active status, and discount vs tracking-only type. Set a limit to page results; this read-only call changes nothing.
Instructions
List discount codes. Returns the merchant's discount codes with their id, whether each is a discount or tracking only, the plan it applies to and whether it is active, up to limit (1 to 100). Changes nothing.
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": "agenta_discounts_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results per page (default 10) | |
| business | No | Act for this business you manage (its id). Omit to act as yourself. |