naftiko: 1.0.0-alpha2 info: label: LaunchDarkly REST API — Flag Triggers description: 'LaunchDarkly REST API — Flag Triggers. 2 operations. Lead operation: List flag triggers. Self-contained Naftiko capability covering one Launchdarkly business surface.' tags: - Launchdarkly - Flag Triggers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LAUNCHDARKLY_API_KEY: LAUNCHDARKLY_API_KEY capability: consumes: - type: http namespace: rest-flag-triggers baseUri: https://app.launchdarkly.com/api/v2 description: LaunchDarkly REST API — Flag Triggers business capability. Self-contained, no shared references. resources: - name: flags-projectKey-flagKey-triggers-environmentKey path: /flags/{projectKey}/{flagKey}/triggers/{environmentKey} operations: - name: listflagtriggers method: GET description: List flag triggers outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createflagtrigger method: POST description: Create a flag trigger 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.LAUNCHDARKLY_API_KEY}}' exposes: - type: rest namespace: rest-flag-triggers-rest port: 8080 description: REST adapter for LaunchDarkly REST API — Flag Triggers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/flags/{projectkey}/{flagkey}/triggers/{environmentkey} name: flags-projectkey-flagkey-triggers-environmentkey description: REST surface for flags-projectKey-flagKey-triggers-environmentKey. operations: - method: GET name: listflagtriggers description: List flag triggers call: rest-flag-triggers.listflagtriggers outputParameters: - type: object mapping: $. - method: POST name: createflagtrigger description: Create a flag trigger call: rest-flag-triggers.createflagtrigger with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: rest-flag-triggers-mcp port: 9090 transport: http description: MCP adapter for LaunchDarkly REST API — Flag Triggers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-flag-triggers description: List flag triggers hints: readOnly: true destructive: false idempotent: true call: rest-flag-triggers.listflagtriggers outputParameters: - type: object mapping: $. - name: create-flag-trigger description: Create a flag trigger hints: readOnly: false destructive: false idempotent: false call: rest-flag-triggers.createflagtrigger with: body: tools.body outputParameters: - type: object mapping: $.