List affiliateCode
codecks_list_affiliate_codeRetrieve and filter affiliate codes with pagination, ordering, and field selection, including related stats, account, and creator data for Codecks affiliate management.
Instructions
List affiliateCode items with optional filters and selection.
Available fields: code, createdAt, isDeleted, isDisabled, label, message, remainingRedemptions, reward, ... Relations: stats, account, creator
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": "codecks_list_affiliate_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| filters | No | Filter object for the query | |
| order_by | No | Field to order by | |
| selection | No | Selection array (fields/relations) | |
| order_desc | No | Whether to order descending | |
| project_id | No | Unified project filter key (mapped to projectId internally) | |
| include_deleted | No | Include deleted entities where model-specific deleted flags exist | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for structured data | markdown |
| include_relations | No | Attempt safe first-level relation expansion with guarded fallback |