naftiko: 1.0.0-alpha2 info: label: Facebook Graph API — Authentication description: 'Facebook Graph API — Authentication. 1 operations. Lead operation: Facebook Debug Token. Self-contained Naftiko capability covering one Facebook business surface.' tags: - Facebook - Authentication created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FACEBOOK_API_KEY: FACEBOOK_API_KEY capability: consumes: - type: http namespace: graph-authentication baseUri: https://graph.facebook.com/v21.0 description: Facebook Graph API — Authentication business capability. Self-contained, no shared references. resources: - name: debug_token path: /debug_token operations: - name: debugtoken method: GET description: Facebook Debug Token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: input_token in: query type: string description: The access token to debug. required: true authentication: type: bearer token: '{{env.FACEBOOK_API_KEY}}' exposes: - type: rest namespace: graph-authentication-rest port: 8080 description: REST adapter for Facebook Graph API — Authentication. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/debug-token name: debug-token description: REST surface for debug_token. operations: - method: GET name: debugtoken description: Facebook Debug Token call: graph-authentication.debugtoken with: input_token: rest.input_token outputParameters: - type: object mapping: $. - type: mcp namespace: graph-authentication-mcp port: 9090 transport: http description: MCP adapter for Facebook Graph API — Authentication. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: facebook-debug-token description: Facebook Debug Token hints: readOnly: true destructive: false idempotent: true call: graph-authentication.debugtoken with: input_token: tools.input_token outputParameters: - type: object mapping: $.