naftiko: 1.0.0-alpha2 info: label: TIBCO BusinessEvents API — Decision Tables description: 'TIBCO BusinessEvents API — Decision Tables. 5 operations. Lead operation: List decision tables. Self-contained Naftiko capability covering one Tibco business surface.' tags: - Tibco - Decision Tables created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TIBCO_API_KEY: TIBCO_API_KEY capability: consumes: - type: http namespace: businessevents-decision-tables baseUri: https://api.tibco.com/businessevents/v1 description: TIBCO BusinessEvents API — Decision Tables business capability. Self-contained, no shared references. resources: - name: decision-tables path: /decision-tables operations: - name: listdecisiontables method: GET description: List decision tables outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createdecisiontable method: POST description: Create a decision table outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: decision-tables-tableId path: /decision-tables/{tableId} operations: - name: getdecisiontable method: GET description: Get a decision table outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatedecisiontable method: PUT description: Update a decision table outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletedecisiontable method: DELETE description: Delete a decision table outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.TIBCO_API_KEY}}' exposes: - type: rest namespace: businessevents-decision-tables-rest port: 8080 description: REST adapter for TIBCO BusinessEvents API — Decision Tables. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/decision-tables name: decision-tables description: REST surface for decision-tables. operations: - method: GET name: listdecisiontables description: List decision tables call: businessevents-decision-tables.listdecisiontables outputParameters: - type: object mapping: $. - method: POST name: createdecisiontable description: Create a decision table call: businessevents-decision-tables.createdecisiontable with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/decision-tables/{tableid} name: decision-tables-tableid description: REST surface for decision-tables-tableId. operations: - method: GET name: getdecisiontable description: Get a decision table call: businessevents-decision-tables.getdecisiontable outputParameters: - type: object mapping: $. - method: PUT name: updatedecisiontable description: Update a decision table call: businessevents-decision-tables.updatedecisiontable with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletedecisiontable description: Delete a decision table call: businessevents-decision-tables.deletedecisiontable outputParameters: - type: object mapping: $. - type: mcp namespace: businessevents-decision-tables-mcp port: 9090 transport: http description: MCP adapter for TIBCO BusinessEvents API — Decision Tables. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-decision-tables description: List decision tables hints: readOnly: true destructive: false idempotent: true call: businessevents-decision-tables.listdecisiontables outputParameters: - type: object mapping: $. - name: create-decision-table description: Create a decision table hints: readOnly: false destructive: false idempotent: false call: businessevents-decision-tables.createdecisiontable with: body: tools.body outputParameters: - type: object mapping: $. - name: get-decision-table description: Get a decision table hints: readOnly: true destructive: false idempotent: true call: businessevents-decision-tables.getdecisiontable outputParameters: - type: object mapping: $. - name: update-decision-table description: Update a decision table hints: readOnly: false destructive: false idempotent: true call: businessevents-decision-tables.updatedecisiontable with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-decision-table description: Delete a decision table hints: readOnly: false destructive: true idempotent: true call: businessevents-decision-tables.deletedecisiontable outputParameters: - type: object mapping: $.