naftiko: 1.0.0-alpha2 info: label: Apifuse API — Workflows description: 'Apifuse API — Workflows. 2 operations. Lead operation: Apifuse List Workflows. Self-contained Naftiko capability covering one Apifuse business surface.' tags: - Apifuse - Workflows created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIFUSE_API_KEY: APIFUSE_API_KEY capability: consumes: - type: http namespace: apifuse-workflows baseUri: https://api.apifuse.io description: Apifuse API — Workflows business capability. Self-contained, no shared references. resources: - name: workflows path: /workflows operations: - name: listworkflows method: GET description: Apifuse List Workflows outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createworkflow method: POST description: Apifuse Create Workflow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-API-Key value: '{{env.APIFUSE_API_KEY}}' placement: header exposes: - type: rest namespace: apifuse-workflows-rest port: 8080 description: REST adapter for Apifuse API — Workflows. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/workflows name: workflows description: REST surface for workflows. operations: - method: GET name: listworkflows description: Apifuse List Workflows call: apifuse-workflows.listworkflows outputParameters: - type: object mapping: $. - method: POST name: createworkflow description: Apifuse Create Workflow call: apifuse-workflows.createworkflow with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: apifuse-workflows-mcp port: 9090 transport: http description: MCP adapter for Apifuse API — Workflows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apifuse-list-workflows description: Apifuse List Workflows hints: readOnly: true destructive: false idempotent: true call: apifuse-workflows.listworkflows outputParameters: - type: object mapping: $. - name: apifuse-create-workflow description: Apifuse Create Workflow hints: readOnly: false destructive: false idempotent: false call: apifuse-workflows.createworkflow with: body: tools.body outputParameters: - type: object mapping: $.