transfers.list
Retrieve and display a list of Ryft transfers with options to filter, sort, and limit results for financial tracking.
Instructions
List Ryft transfers.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ascending | No | ||
| limit | No | ||
| startsAfter | No |
Implementation Reference
- src/tools/transfers.ts:38-41 (handler)The handler function that executes the 'transfers.list' tool. It parses the arguments and makes a GET request to the Ryft API.
async (args) => { const query = listTransfersSchema.parse(args) as Record<string, QueryValue>; return client.get('/transfers', { query }); }, - src/tools/transfers.ts:20-24 (schema)Zod schema defining the input parameters for the 'transfers.list' tool.
const listTransfersSchema = z.object({ ascending: z.boolean().optional(), limit: z.number().int().positive().max(100).optional(), startsAfter: z.string().optional(), }); - src/tools/transfers.ts:34-42 (registration)Tool registration for 'transfers.list' in the registerTransferTools function.
registerTool( 'transfers.list', 'List Ryft transfers.', listTransfersSchema.shape, async (args) => { const query = listTransfersSchema.parse(args) as Record<string, QueryValue>; return client.get('/transfers', { query }); }, );