vaultix_list_products
Retrieve product listings from Vaultix Payment API with filtering options for status, search terms, and result limits.
Instructions
List all products
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results (1-100) | |
| status | No | Filter by status | |
| search | No | Search by name or SKU |
Implementation Reference
- src/tools/index.ts:520-525 (handler)Handler for vaultix_list_products tool that retrieves the list of products from the Vaultix API using the client.get method with optional query parameters for limit, status, and search.case 'vaultix_list_products': return client.get('/products', { limit: args.limit, status: args.status, search: args.search, })
- src/tools/index.ts:218-225 (schema)Input schema defining the parameters for listing products: optional limit, status filter, and search term.inputSchema: { type: 'object', properties: { limit: { type: 'number', description: 'Maximum results (1-100)' }, status: { type: 'string', enum: ['active', 'draft', 'archived'], description: 'Filter by status' }, search: { type: 'string', description: 'Search by name or SKU' }, }, },
- src/tools/index.ts:215-226 (registration)Registration of the vaultix_list_products tool in the exported tools array, specifying name, description, and input schema.{ name: 'vaultix_list_products', description: 'List all products', inputSchema: { type: 'object', properties: { limit: { type: 'number', description: 'Maximum results (1-100)' }, status: { type: 'string', enum: ['active', 'draft', 'archived'], description: 'Filter by status' }, search: { type: 'string', description: 'Search by name or SKU' }, }, }, },