naftiko: 1.0.0-alpha2 info: label: Cobalt API — Events description: 'Cobalt API — Events. 1 operations. Lead operation: Cobalt Trigger Event. Self-contained Naftiko capability covering one Cobalt business surface.' tags: - Cobalt - Events created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COBALT_API_KEY: COBALT_API_KEY capability: consumes: - type: http namespace: cobalt-events baseUri: https://api.gocobalt.io/api/v2 description: Cobalt API — Events business capability. Self-contained, no shared references. resources: - name: public-event-slug path: /public/event/{slug} operations: - name: triggerevent method: POST description: Cobalt Trigger Event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: slug in: path type: string description: The event slug identifier. required: true - name: linked_account_id in: header type: string description: The linked account ID. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: x-api-key value: '{{env.COBALT_API_KEY}}' placement: header exposes: - type: rest namespace: cobalt-events-rest port: 8080 description: REST adapter for Cobalt API — Events. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/public/event/{slug} name: public-event-slug description: REST surface for public-event-slug. operations: - method: POST name: triggerevent description: Cobalt Trigger Event call: cobalt-events.triggerevent with: slug: rest.slug linked_account_id: rest.linked_account_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: cobalt-events-mcp port: 9090 transport: http description: MCP adapter for Cobalt API — Events. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: cobalt-trigger-event description: Cobalt Trigger Event hints: readOnly: false destructive: false idempotent: false call: cobalt-events.triggerevent with: slug: tools.slug linked_account_id: tools.linked_account_id body: tools.body outputParameters: - type: object mapping: $.