siigo_get_price_lists
Retrieve price lists catalog from Siigo accounting software to access product pricing data for sales, invoicing, and financial management.
Instructions
Get price lists catalog
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/siigo-client.ts:234-236 (handler)Core handler function that executes the tool logic by making an authenticated GET request to the Siigo API endpoint '/v1/price-lists'.async getPriceLists(): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/price-lists'); }
- src/index.ts:1101-1104 (handler)MCP server handler that calls the 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/index.ts:707-711 (schema)Tool schema definition including name, description, and input schema (no required parameters).{ name: 'siigo_get_price_lists', description: 'Get price lists catalog', inputSchema: { type: 'object', properties: {} }, },
- src/index.ts:159-160 (registration)Registration in the tool dispatch switch statement that routes calls to the handler.case 'siigo_get_price_lists': return await this.handleGetPriceLists(args);