platformFees.list
Retrieve a list of platform fees from Ryft to track financial charges. Use parameters to sort results and control the number of entries returned.
Instructions
List Ryft platform fees.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ascending | No | ||
| limit | No |
Implementation Reference
- src/tools/platform-fees.ts:20-23 (handler)Handler function for platformFees.list tool.
async (args) => { const query = listPlatformFeesSchema.parse(args) as Record<string, QueryValue>; return client.get('/platform-fees', { query }); }, - src/tools/platform-fees.ts:16-24 (registration)Registration of platformFees.list tool.
registerTool( 'platformFees.list', 'List Ryft platform fees.', listPlatformFeesSchema.shape, async (args) => { const query = listPlatformFeesSchema.parse(args) as Record<string, QueryValue>; return client.get('/platform-fees', { query }); }, ); - src/tools/platform-fees.ts:6-9 (schema)Input schema validation for platformFees.list.
const listPlatformFeesSchema = z.object({ ascending: z.boolean().optional(), limit: z.number().int().positive().max(100).optional(), });