naftiko: 1.0.0-alpha2 info: label: Camunda 8 REST API — Incidents description: 'Camunda 8 REST API — Incidents. 2 operations. Lead operation: Search incidents. Self-contained Naftiko capability covering one Camunda business surface.' tags: - Camunda - Incidents created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CAMUNDA_API_KEY: CAMUNDA_API_KEY capability: consumes: - type: http namespace: 8-incidents baseUri: '' description: Camunda 8 REST API — Incidents business capability. Self-contained, no shared references. resources: - name: incidents-search path: /incidents/search operations: - name: searchincidents method: POST description: Search incidents outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: incidents-incidentKey-resolution path: /incidents/{incidentKey}/resolution operations: - name: resolveincident method: POST description: Resolve an incident outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: incidentKey in: path type: integer required: true authentication: type: bearer token: '{{env.CAMUNDA_API_KEY}}' exposes: - type: rest namespace: 8-incidents-rest port: 8080 description: REST adapter for Camunda 8 REST API — Incidents. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/incidents/search name: incidents-search description: REST surface for incidents-search. operations: - method: POST name: searchincidents description: Search incidents call: 8-incidents.searchincidents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/incidents/{incidentkey}/resolution name: incidents-incidentkey-resolution description: REST surface for incidents-incidentKey-resolution. operations: - method: POST name: resolveincident description: Resolve an incident call: 8-incidents.resolveincident with: incidentKey: rest.incidentKey outputParameters: - type: object mapping: $. - type: mcp namespace: 8-incidents-mcp port: 9090 transport: http description: MCP adapter for Camunda 8 REST API — Incidents. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: search-incidents description: Search incidents hints: readOnly: true destructive: false idempotent: false call: 8-incidents.searchincidents with: body: tools.body outputParameters: - type: object mapping: $. - name: resolve-incident description: Resolve an incident hints: readOnly: false destructive: false idempotent: false call: 8-incidents.resolveincident with: incidentKey: tools.incidentKey outputParameters: - type: object mapping: $.