naftiko: 1.0.0-alpha2 info: label: Absence.io API — Users description: 'Absence.io API — Users. 2 operations. Lead operation: Absence.io List Users. Self-contained Naftiko capability covering one Absence Io business surface.' tags: - Absence Io - Users 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-users baseUri: https://app.absence.io/api/v2 description: Absence.io API — Users business capability. Self-contained, no shared references. resources: - name: users path: /users operations: - name: listusers method: POST description: Absence.io List Users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: users-id path: /users/{id} operations: - name: getuser method: GET description: Absence.io Get User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The unique identifier of the user. required: true exposes: - type: rest namespace: absence-io-users-rest port: 8080 description: REST adapter for Absence.io API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users name: users description: REST surface for users. operations: - method: POST name: listusers description: Absence.io List Users call: absence-io-users.listusers with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{id} name: users-id description: REST surface for users-id. operations: - method: GET name: getuser description: Absence.io Get User call: absence-io-users.getuser with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: absence-io-users-mcp port: 9090 transport: http description: MCP adapter for Absence.io API — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: absence-io-list-users description: Absence.io List Users hints: readOnly: true destructive: false idempotent: false call: absence-io-users.listusers with: body: tools.body outputParameters: - type: object mapping: $. - name: absence-io-get-user description: Absence.io Get User hints: readOnly: true destructive: false idempotent: true call: absence-io-users.getuser with: id: tools.id outputParameters: - type: object mapping: $.