naftiko: 1.0.0-alpha2 info: label: Facebook Messenger Platform API — Conversations description: 'Facebook Messenger Platform API — Conversations. 2 operations. Lead operation: Facebook Get Conversation. Self-contained Naftiko capability covering one Facebook business surface.' tags: - Facebook - Conversations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FACEBOOK_API_KEY: FACEBOOK_API_KEY capability: consumes: - type: http namespace: messenger-conversations baseUri: https://graph.facebook.com/v21.0 description: Facebook Messenger Platform API — Conversations business capability. Self-contained, no shared references. resources: - name: conversation-id path: /{conversation-id} operations: - name: getconversation method: GET description: Facebook Get Conversation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: conversation-id in: path type: string description: The conversation ID. required: true - name: page-id-conversations path: /{page-id}/conversations operations: - name: listconversations method: GET description: Facebook List Conversations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page-id in: path type: string description: The page ID. required: true authentication: type: bearer token: '{{env.FACEBOOK_API_KEY}}' exposes: - type: rest namespace: messenger-conversations-rest port: 8080 description: REST adapter for Facebook Messenger Platform API — Conversations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{conversation-id} name: conversation-id description: REST surface for conversation-id. operations: - method: GET name: getconversation description: Facebook Get Conversation call: messenger-conversations.getconversation with: conversation-id: rest.conversation-id outputParameters: - type: object mapping: $. - path: /v1/{page-id}/conversations name: page-id-conversations description: REST surface for page-id-conversations. operations: - method: GET name: listconversations description: Facebook List Conversations call: messenger-conversations.listconversations with: page-id: rest.page-id outputParameters: - type: object mapping: $. - type: mcp namespace: messenger-conversations-mcp port: 9090 transport: http description: MCP adapter for Facebook Messenger Platform API — Conversations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: facebook-get-conversation description: Facebook Get Conversation hints: readOnly: true destructive: false idempotent: true call: messenger-conversations.getconversation with: conversation-id: tools.conversation-id outputParameters: - type: object mapping: $. - name: facebook-list-conversations description: Facebook List Conversations hints: readOnly: true destructive: false idempotent: true call: messenger-conversations.listconversations with: page-id: tools.page-id outputParameters: - type: object mapping: $.