siigo_get_fiscal_responsibilities
Retrieve the catalog of fiscal responsibilities required for Colombian tax compliance when using Siigo accounting software.
Instructions
Get fiscal responsibilities catalog
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:1121-1124 (handler)MCP server handler method that invokes the SiigoClient method and formats the response as text content.private async handleGetFiscalResponsibilities(args: any) { const result = await this.siigoClient.getFiscalResponsibilities(); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
- src/siigo-client.ts:250-252 (handler)Core implementation that authenticates and makes a GET request to the Siigo API endpoint for fiscal responsibilities.async getFiscalResponsibilities(): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/fiscal-responsibilities'); }
- src/index.ts:727-731 (registration)Tool registration in the MCP server's getTools() method, including name, description, and 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)Input schema definition for the tool (empty object, no required inputs).inputSchema: { type: 'object', properties: {} }, },
- src/index.ts:167-168 (handler)Dispatch case in the main CallToolRequest handler switch statement that routes to the specific tool handler.case 'siigo_get_fiscal_responsibilities': return await this.handleGetFiscalResponsibilities(args);