naftiko: 1.0.0-alpha2 info: label: TrueFoundry AI Gateway API — Models description: 'TrueFoundry AI Gateway API — Models. 1 operations. Lead operation: List Models. Self-contained Naftiko capability covering one Truefoundry business surface.' tags: - Truefoundry - Models created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TRUEFOUNDRY_API_KEY: TRUEFOUNDRY_API_KEY capability: consumes: - type: http namespace: ai-gateway-models baseUri: https://app.truefoundry.com/api/llm description: TrueFoundry AI Gateway API — Models business capability. Self-contained, no shared references. resources: - name: models path: /models operations: - name: listmodels method: GET description: List Models outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.TRUEFOUNDRY_API_KEY}}' exposes: - type: rest namespace: ai-gateway-models-rest port: 8080 description: REST adapter for TrueFoundry AI Gateway API — Models. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/models name: models description: REST surface for models. operations: - method: GET name: listmodels description: List Models call: ai-gateway-models.listmodels outputParameters: - type: object mapping: $. - type: mcp namespace: ai-gateway-models-mcp port: 9090 transport: http description: MCP adapter for TrueFoundry AI Gateway API — Models. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-models description: List Models hints: readOnly: true destructive: false idempotent: true call: ai-gateway-models.listmodels outputParameters: - type: object mapping: $.