naftiko: 1.0.0-alpha2 info: label: Trustwell FoodLogiQ API — Traceability description: 'Trustwell FoodLogiQ API — Traceability. 2 operations. Lead operation: List Lots. Self-contained Naftiko capability covering one Trustwell business surface.' tags: - Trustwell - Traceability created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TRUSTWELL_API_KEY: TRUSTWELL_API_KEY capability: consumes: - type: http namespace: foodlogiq-traceability baseUri: https://api.trustwell.com/foodlogiq/v1 description: Trustwell FoodLogiQ API — Traceability business capability. Self-contained, no shared references. resources: - name: traceability-lots path: /traceability/lots operations: - name: listlots method: GET description: List Lots outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: productId in: query type: string - name: supplierId in: query type: string - name: fromDate in: query type: string - name: toDate in: query type: string - name: page in: query type: integer - name: perPage in: query type: integer - name: traceability-lots-lotId path: /traceability/lots/{lotId} operations: - name: getlot method: GET description: Get Lot outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: lotId in: path type: string required: true authentication: type: apikey key: X-API-KEY value: '{{env.TRUSTWELL_API_KEY}}' placement: header exposes: - type: rest namespace: foodlogiq-traceability-rest port: 8080 description: REST adapter for Trustwell FoodLogiQ API — Traceability. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/traceability/lots name: traceability-lots description: REST surface for traceability-lots. operations: - method: GET name: listlots description: List Lots call: foodlogiq-traceability.listlots with: productId: rest.productId supplierId: rest.supplierId fromDate: rest.fromDate toDate: rest.toDate page: rest.page perPage: rest.perPage outputParameters: - type: object mapping: $. - path: /v1/traceability/lots/{lotid} name: traceability-lots-lotid description: REST surface for traceability-lots-lotId. operations: - method: GET name: getlot description: Get Lot call: foodlogiq-traceability.getlot with: lotId: rest.lotId outputParameters: - type: object mapping: $. - type: mcp namespace: foodlogiq-traceability-mcp port: 9090 transport: http description: MCP adapter for Trustwell FoodLogiQ API — Traceability. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-lots description: List Lots hints: readOnly: true destructive: false idempotent: true call: foodlogiq-traceability.listlots with: productId: tools.productId supplierId: tools.supplierId fromDate: tools.fromDate toDate: tools.toDate page: tools.page perPage: tools.perPage outputParameters: - type: object mapping: $. - name: get-lot description: Get Lot hints: readOnly: true destructive: false idempotent: true call: foodlogiq-traceability.getlot with: lotId: tools.lotId outputParameters: - type: object mapping: $.