naftiko: 1.0.0-alpha2 info: label: Absence.io API — Departments description: 'Absence.io API — Departments. 1 operations. Lead operation: Absence.io List Departments. Self-contained Naftiko capability covering one Absence Io business surface.' tags: - Absence Io - Departments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ABSENCE_IO_API_KEY: ABSENCE_IO_API_KEY capability: consumes: - type: http namespace: absence-io-departments baseUri: https://app.absence.io/api/v2 description: Absence.io API — Departments business capability. Self-contained, no shared references. resources: - name: departments path: /departments operations: - name: listdepartments method: POST description: Absence.io List Departments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: absence-io-departments-rest port: 8080 description: REST adapter for Absence.io API — Departments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/departments name: departments description: REST surface for departments. operations: - method: POST name: listdepartments description: Absence.io List Departments call: absence-io-departments.listdepartments with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: absence-io-departments-mcp port: 9090 transport: http description: MCP adapter for Absence.io API — Departments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: absence-io-list-departments description: Absence.io List Departments hints: readOnly: true destructive: false idempotent: false call: absence-io-departments.listdepartments with: body: tools.body outputParameters: - type: object mapping: $.