siigo_get_fiscal_responsibilities
Retrieve the catalog of fiscal responsibilities from Siigo accounting software to ensure compliance with Colombian tax regulations.
Instructions
Get fiscal responsibilities catalog
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/siigo-client.ts:250-252 (handler)Executes the core tool logic by making a GET request to the Siigo API endpoint '/v1/fiscal-responsibilities'.async getFiscalResponsibilities(): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/fiscal-responsibilities'); }
- src/index.ts:1121-1124 (handler)MCP server handler that invokes the SiigoClient method and returns the JSON-formatted result as tool response.private async handleGetFiscalResponsibilities(args: any) { const result = await this.siigoClient.getFiscalResponsibilities(); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
- src/index.ts:727-731 (registration)Registers the tool with MCP server, including name, description, and empty input schema (no parameters required).{ name: 'siigo_get_fiscal_responsibilities', description: 'Get fiscal responsibilities catalog', inputSchema: { type: 'object', properties: {} }, },
- src/index.ts:730-731 (schema)Defines the input schema for the tool: an empty object, indicating no input parameters are needed.inputSchema: { type: 'object', properties: {} }, },
- src/index.ts:167-168 (handler)Switch case in the central CallToolRequest handler that routes to the specific tool handler.case 'siigo_get_fiscal_responsibilities': return await this.handleGetFiscalResponsibilities(args);