naftiko: 1.0.0-alpha2 info: label: Amazon Rekognition — Face Liveness description: 'Amazon Rekognition — Face Liveness. 2 operations. Lead operation: Amazon Rekognition Create Face Liveness Session. Self-contained Naftiko capability covering one Amazon Rekognition business surface.' tags: - Amazon Rekognition - Face Liveness created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_REKOGNITION_API_KEY: AMAZON_REKOGNITION_API_KEY capability: consumes: - type: http namespace: amazon-rekognition-face-liveness baseUri: https://rekognition.amazonaws.com description: Amazon Rekognition — Face Liveness business capability. Self-contained, no shared references. resources: - name: '#CreateFaceLivenessSession' path: /#CreateFaceLivenessSession operations: - name: createfacelivenesssession method: POST description: Amazon Rekognition Create Face Liveness Session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: '#GetFaceLivenessSessionResults' path: /#GetFaceLivenessSessionResults operations: - name: getfacelivenesssessionresults method: POST description: Amazon Rekognition Get Face Liveness Session Results outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.AMAZON_REKOGNITION_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-rekognition-face-liveness-rest port: 8080 description: REST adapter for Amazon Rekognition — Face Liveness. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/createfacelivenesssession name: createfacelivenesssession description: 'REST surface for #CreateFaceLivenessSession.' operations: - method: POST name: createfacelivenesssession description: Amazon Rekognition Create Face Liveness Session call: amazon-rekognition-face-liveness.createfacelivenesssession with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/getfacelivenesssessionresults name: getfacelivenesssessionresults description: 'REST surface for #GetFaceLivenessSessionResults.' operations: - method: POST name: getfacelivenesssessionresults description: Amazon Rekognition Get Face Liveness Session Results call: amazon-rekognition-face-liveness.getfacelivenesssessionresults with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-rekognition-face-liveness-mcp port: 9090 transport: http description: MCP adapter for Amazon Rekognition — Face Liveness. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-rekognition-create-face-liveness description: Amazon Rekognition Create Face Liveness Session hints: readOnly: false destructive: false idempotent: false call: amazon-rekognition-face-liveness.createfacelivenesssession with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-rekognition-get-face-liveness description: Amazon Rekognition Get Face Liveness Session Results hints: readOnly: true destructive: false idempotent: false call: amazon-rekognition-face-liveness.getfacelivenesssessionresults with: body: tools.body outputParameters: - type: object mapping: $.