platformFees.get
Retrieve specific platform fee details from Ryft MCP using a unique identifier to access transaction cost information for financial management.
Instructions
Get a Ryft platform fee by id.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/tools/platform-fees.ts:30-33 (handler)Handler function for platformFees.get, which retrieves a platform fee by its ID.
async (args) => { const { id } = platformFeeTargetSchema.parse(args); return client.get(`/platform-fees/${id}`); }, - src/tools/platform-fees.ts:11-13 (schema)Zod schema defining the input for platformFees.get.
const platformFeeTargetSchema = z.object({ id: z.string().min(1), }); - src/tools/platform-fees.ts:26-34 (registration)Registration of the platformFees.get tool using the registerTool function.
registerTool( 'platformFees.get', 'Get a Ryft platform fee by id.', platformFeeTargetSchema.shape, async (args) => { const { id } = platformFeeTargetSchema.parse(args); return client.get(`/platform-fees/${id}`); }, );