naftiko: 1.0.0-alpha2 info: label: Intercom API — Conversations description: 'Intercom API — Conversations. 3 operations. Lead operation: List conversations. Self-contained Naftiko capability covering one Intercom business surface.' tags: - Intercom - Conversations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: INTERCOM_API_KEY: INTERCOM_API_KEY capability: consumes: - type: http namespace: intercom-conversations baseUri: https://api.intercom.io description: Intercom API — Conversations business capability. Self-contained, no shared references. resources: - name: conversations path: /conversations operations: - name: listconversations method: GET description: List conversations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createconversation method: POST description: Create a conversation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: conversations-conversation_id path: /conversations/{conversation_id} operations: - name: getconversation method: GET description: Retrieve a conversation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: conversation_id in: path type: string required: true authentication: type: bearer token: '{{env.INTERCOM_API_KEY}}' exposes: - type: rest namespace: intercom-conversations-rest port: 8080 description: REST adapter for Intercom API — Conversations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/conversations name: conversations description: REST surface for conversations. operations: - method: GET name: listconversations description: List conversations call: intercom-conversations.listconversations outputParameters: - type: object mapping: $. - method: POST name: createconversation description: Create a conversation call: intercom-conversations.createconversation with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/conversations/{conversation-id} name: conversations-conversation-id description: REST surface for conversations-conversation_id. operations: - method: GET name: getconversation description: Retrieve a conversation call: intercom-conversations.getconversation with: conversation_id: rest.conversation_id outputParameters: - type: object mapping: $. - type: mcp namespace: intercom-conversations-mcp port: 9090 transport: http description: MCP adapter for Intercom API — Conversations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-conversations description: List conversations hints: readOnly: true destructive: false idempotent: true call: intercom-conversations.listconversations outputParameters: - type: object mapping: $. - name: create-conversation description: Create a conversation hints: readOnly: false destructive: false idempotent: false call: intercom-conversations.createconversation with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-conversation description: Retrieve a conversation hints: readOnly: true destructive: false idempotent: true call: intercom-conversations.getconversation with: conversation_id: tools.conversation_id outputParameters: - type: object mapping: $.