siigo_get_price_lists
Retrieve the complete catalog of price lists from Siigo accounting software to access current pricing information for products and services.
Instructions
Get price lists catalog
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:1101-1104 (handler)MCP tool handler for 'siigo_get_price_lists'. Calls SiigoClient.getPriceLists() and formats the response as MCP content.private async handleGetPriceLists(args: any) { const result = await this.siigoClient.getPriceLists(); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
- src/siigo-client.ts:234-236 (helper)Core implementation in SiigoClient that makes the API request to fetch price lists from Siigo API.async getPriceLists(): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/price-lists'); }
- src/index.ts:707-711 (registration)Tool registration in getTools() method, including name, description, and input schema.{ name: 'siigo_get_price_lists', description: 'Get price lists catalog', inputSchema: { type: 'object', properties: {} }, },
- src/index.ts:709-710 (schema)Input schema definition for the tool (no required parameters).description: 'Get price lists catalog', inputSchema: { type: 'object', properties: {} },