list_discounts
Retrieve discount codes from your Karrito store. Specify the number of discounts and pagination offset to manage promotions.
Instructions
List discount codes in your Karrito store. Requires KARRITO_API_KEY environment variable.
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": "list_discounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max discounts to return (1-100) | |
| offset | No | Pagination offset |