naftiko: 1.0.0-alpha2 info: label: LaunchDarkly REST API — Webhooks description: 'LaunchDarkly REST API — Webhooks. 5 operations. Lead operation: List webhooks. Self-contained Naftiko capability covering one Launchdarkly business surface.' tags: - Launchdarkly - Webhooks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LAUNCHDARKLY_API_KEY: LAUNCHDARKLY_API_KEY capability: consumes: - type: http namespace: rest-webhooks baseUri: https://app.launchdarkly.com/api/v2 description: LaunchDarkly REST API — Webhooks business capability. Self-contained, no shared references. resources: - name: webhooks path: /webhooks operations: - name: listwebhooks method: GET description: List webhooks outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createwebhook method: POST description: Create a webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: webhooks-webhookId path: /webhooks/{webhookId} operations: - name: getwebhook method: GET description: Get a webhook outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patchwebhook method: PATCH description: Update a webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletewebhook method: DELETE description: Delete a webhook outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.LAUNCHDARKLY_API_KEY}}' exposes: - type: rest namespace: rest-webhooks-rest port: 8080 description: REST adapter for LaunchDarkly REST API — Webhooks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/webhooks name: webhooks description: REST surface for webhooks. operations: - method: GET name: listwebhooks description: List webhooks call: rest-webhooks.listwebhooks outputParameters: - type: object mapping: $. - method: POST name: createwebhook description: Create a webhook call: rest-webhooks.createwebhook with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/webhooks/{webhookid} name: webhooks-webhookid description: REST surface for webhooks-webhookId. operations: - method: GET name: getwebhook description: Get a webhook call: rest-webhooks.getwebhook outputParameters: - type: object mapping: $. - method: PATCH name: patchwebhook description: Update a webhook call: rest-webhooks.patchwebhook with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletewebhook description: Delete a webhook call: rest-webhooks.deletewebhook outputParameters: - type: object mapping: $. - type: mcp namespace: rest-webhooks-mcp port: 9090 transport: http description: MCP adapter for LaunchDarkly REST API — Webhooks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-webhooks description: List webhooks hints: readOnly: true destructive: false idempotent: true call: rest-webhooks.listwebhooks outputParameters: - type: object mapping: $. - name: create-webhook description: Create a webhook hints: readOnly: false destructive: false idempotent: false call: rest-webhooks.createwebhook with: body: tools.body outputParameters: - type: object mapping: $. - name: get-webhook description: Get a webhook hints: readOnly: true destructive: false idempotent: true call: rest-webhooks.getwebhook outputParameters: - type: object mapping: $. - name: update-webhook description: Update a webhook hints: readOnly: false destructive: false idempotent: true call: rest-webhooks.patchwebhook with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-webhook description: Delete a webhook hints: readOnly: false destructive: true idempotent: true call: rest-webhooks.deletewebhook outputParameters: - type: object mapping: $.