naftiko: 1.0.0-alpha2 info: label: LogMeal Food Recognition API — Image Recognition description: 'LogMeal Food Recognition API — Image Recognition. 1 operations. Lead operation: Segment and recognize foods in an image. Self-contained Naftiko capability covering one Logmeal business surface.' tags: - Logmeal - Image Recognition created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LOGMEAL_API_KEY: LOGMEAL_API_KEY capability: consumes: - type: http namespace: food-recognition-image-recognition baseUri: https://api.logmeal.com description: LogMeal Food Recognition API — Image Recognition business capability. Self-contained, no shared references. resources: - name: v2-image-segmentation-complete path: /v2/image/segmentation/complete operations: - name: segmentationcomplete method: POST description: Segment and recognize foods in an image outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.LOGMEAL_API_KEY}}' exposes: - type: rest namespace: food-recognition-image-recognition-rest port: 8080 description: REST adapter for LogMeal Food Recognition API — Image Recognition. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/image/segmentation/complete name: v2-image-segmentation-complete description: REST surface for v2-image-segmentation-complete. operations: - method: POST name: segmentationcomplete description: Segment and recognize foods in an image call: food-recognition-image-recognition.segmentationcomplete with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: food-recognition-image-recognition-mcp port: 9090 transport: http description: MCP adapter for LogMeal Food Recognition API — Image Recognition. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: segment-and-recognize-foods-image description: Segment and recognize foods in an image hints: readOnly: false destructive: false idempotent: false call: food-recognition-image-recognition.segmentationcomplete with: body: tools.body outputParameters: - type: object mapping: $.