naftiko: 1.0.0-alpha2 info: label: Freshworks Freshchat API — Channels description: 'Freshworks Freshchat API — Channels. 2 operations. Lead operation: List all channels. Self-contained Naftiko capability covering one Freshworks business surface.' tags: - Freshworks - Channels created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FRESHWORKS_API_KEY: FRESHWORKS_API_KEY capability: consumes: - type: http namespace: freshchat-channels baseUri: https://{domain}.freshchat.com/v2 description: Freshworks Freshchat API — Channels business capability. Self-contained, no shared references. resources: - name: channels path: /channels operations: - name: listchannels method: GET description: List all channels outputRawFormat: json outputParameters: - name: result type: object value: $. - name: channels-channel_id path: /channels/{channel_id} operations: - name: getchannel method: GET description: View a channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: channel_id in: path type: string description: The ID of the channel. required: true authentication: type: bearer token: '{{env.FRESHWORKS_API_KEY}}' exposes: - type: rest namespace: freshchat-channels-rest port: 8080 description: REST adapter for Freshworks Freshchat API — Channels. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/channels name: channels description: REST surface for channels. operations: - method: GET name: listchannels description: List all channels call: freshchat-channels.listchannels outputParameters: - type: object mapping: $. - path: /v1/channels/{channel-id} name: channels-channel-id description: REST surface for channels-channel_id. operations: - method: GET name: getchannel description: View a channel call: freshchat-channels.getchannel with: channel_id: rest.channel_id outputParameters: - type: object mapping: $. - type: mcp namespace: freshchat-channels-mcp port: 9090 transport: http description: MCP adapter for Freshworks Freshchat API — Channels. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-channels description: List all channels hints: readOnly: true destructive: false idempotent: true call: freshchat-channels.listchannels outputParameters: - type: object mapping: $. - name: view-channel description: View a channel hints: readOnly: true destructive: false idempotent: true call: freshchat-channels.getchannel with: channel_id: tools.channel_id outputParameters: - type: object mapping: $.