naftiko: 1.0.0-alpha2 info: label: Togai Apis — Licenses description: 'Togai Apis — Licenses. 4 operations. Lead operation: Get a List of Licenses Updates. Self-contained Naftiko capability covering one Togai business surface.' tags: - Togai - Licenses created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TOGAI_API_KEY: TOGAI_API_KEY capability: consumes: - type: http namespace: togai-licenses baseUri: https://api.togai.com description: Togai Apis — Licenses business capability. Self-contained, no shared references. resources: - name: license_updates path: /license_updates operations: - name: getlicenseupdates method: GET description: Get a List of Licenses Updates outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addlicenseupdateentry method: POST description: Update a License Entry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: license_updates-license_id path: /license_updates/{license_id} operations: - name: updatelicenseentrydetails method: PATCH description: Update a License Entry Details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: named_license_updates path: /named_license_updates operations: - name: getnamedlicenseupdates method: GET description: Get a List of Named Licenses Updates outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.TOGAI_API_KEY}}' exposes: - type: rest namespace: togai-licenses-rest port: 8080 description: REST adapter for Togai Apis — Licenses. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/license-updates name: license-updates description: REST surface for license_updates. operations: - method: GET name: getlicenseupdates description: Get a List of Licenses Updates call: togai-licenses.getlicenseupdates outputParameters: - type: object mapping: $. - method: POST name: addlicenseupdateentry description: Update a License Entry call: togai-licenses.addlicenseupdateentry with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/license-updates/{license-id} name: license-updates-license-id description: REST surface for license_updates-license_id. operations: - method: PATCH name: updatelicenseentrydetails description: Update a License Entry Details call: togai-licenses.updatelicenseentrydetails with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/named-license-updates name: named-license-updates description: REST surface for named_license_updates. operations: - method: GET name: getnamedlicenseupdates description: Get a List of Named Licenses Updates call: togai-licenses.getnamedlicenseupdates outputParameters: - type: object mapping: $. - type: mcp namespace: togai-licenses-mcp port: 9090 transport: http description: MCP adapter for Togai Apis — Licenses. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-list-licenses-updates description: Get a List of Licenses Updates hints: readOnly: true destructive: false idempotent: true call: togai-licenses.getlicenseupdates outputParameters: - type: object mapping: $. - name: update-license-entry description: Update a License Entry hints: readOnly: false destructive: false idempotent: false call: togai-licenses.addlicenseupdateentry with: body: tools.body outputParameters: - type: object mapping: $. - name: update-license-entry-details description: Update a License Entry Details hints: readOnly: false destructive: false idempotent: true call: togai-licenses.updatelicenseentrydetails with: body: tools.body outputParameters: - type: object mapping: $. - name: get-list-named-licenses-updates description: Get a List of Named Licenses Updates hints: readOnly: true destructive: false idempotent: true call: togai-licenses.getnamedlicenseupdates outputParameters: - type: object mapping: $.