naftiko: 1.0.0-alpha2 info: label: Twitch Helix API — Conduits description: 'Twitch Helix API — Conduits. 6 operations. Lead operation: Twitch Get Conduits. Self-contained Naftiko capability covering one Twitch business surface.' tags: - Twitch - Conduits created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TWITCH_API_KEY: TWITCH_API_KEY capability: consumes: - type: http namespace: helix-conduits baseUri: https://api.twitch.tv/helix description: Twitch Helix API — Conduits business capability. Self-contained, no shared references. resources: - name: conduits path: /conduits operations: - name: getconduits method: GET description: Twitch Get Conduits outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createconduit method: POST description: Twitch Create Conduit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: updateconduit method: PATCH description: Twitch Update Conduit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteconduit method: DELETE description: Twitch Delete Conduit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: query type: string required: true - name: conduits-shards path: /conduits/shards operations: - name: getconduitshards method: GET description: Twitch Get Conduit Shards outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: conduit_id in: query type: string required: true - name: status in: query type: string - name: updateconduitshards method: PATCH description: Twitch Update Conduit Shards outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.TWITCH_API_KEY}}' exposes: - type: rest namespace: helix-conduits-rest port: 8080 description: REST adapter for Twitch Helix API — Conduits. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/conduits name: conduits description: REST surface for conduits. operations: - method: GET name: getconduits description: Twitch Get Conduits call: helix-conduits.getconduits outputParameters: - type: object mapping: $. - method: POST name: createconduit description: Twitch Create Conduit call: helix-conduits.createconduit with: body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: updateconduit description: Twitch Update Conduit call: helix-conduits.updateconduit with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteconduit description: Twitch Delete Conduit call: helix-conduits.deleteconduit with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/conduits/shards name: conduits-shards description: REST surface for conduits-shards. operations: - method: GET name: getconduitshards description: Twitch Get Conduit Shards call: helix-conduits.getconduitshards with: conduit_id: rest.conduit_id status: rest.status outputParameters: - type: object mapping: $. - method: PATCH name: updateconduitshards description: Twitch Update Conduit Shards call: helix-conduits.updateconduitshards with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: helix-conduits-mcp port: 9090 transport: http description: MCP adapter for Twitch Helix API — Conduits. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: twitch-get-conduits description: Twitch Get Conduits hints: readOnly: true destructive: false idempotent: true call: helix-conduits.getconduits outputParameters: - type: object mapping: $. - name: twitch-create-conduit description: Twitch Create Conduit hints: readOnly: false destructive: false idempotent: false call: helix-conduits.createconduit with: body: tools.body outputParameters: - type: object mapping: $. - name: twitch-update-conduit description: Twitch Update Conduit hints: readOnly: false destructive: false idempotent: true call: helix-conduits.updateconduit with: body: tools.body outputParameters: - type: object mapping: $. - name: twitch-delete-conduit description: Twitch Delete Conduit hints: readOnly: false destructive: true idempotent: true call: helix-conduits.deleteconduit with: id: tools.id outputParameters: - type: object mapping: $. - name: twitch-get-conduit-shards description: Twitch Get Conduit Shards hints: readOnly: true destructive: false idempotent: true call: helix-conduits.getconduitshards with: conduit_id: tools.conduit_id status: tools.status outputParameters: - type: object mapping: $. - name: twitch-update-conduit-shards description: Twitch Update Conduit Shards hints: readOnly: false destructive: false idempotent: true call: helix-conduits.updateconduitshards with: body: tools.body outputParameters: - type: object mapping: $.