naftiko: 1.0.0-alpha2 info: label: Freshworks Freshteam API — Sub-Departments description: 'Freshworks Freshteam API — Sub-Departments. 1 operations. Lead operation: List all sub-departments. Self-contained Naftiko capability covering one Freshworks business surface.' tags: - Freshworks - Sub-Departments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FRESHWORKS_API_KEY: FRESHWORKS_API_KEY capability: consumes: - type: http namespace: freshteam-sub-departments baseUri: https://{domain}.freshteam.com/api description: Freshworks Freshteam API — Sub-Departments business capability. Self-contained, no shared references. resources: - name: sub_departments path: /sub_departments operations: - name: listsubdepartments method: GET description: List all sub-departments outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.FRESHWORKS_API_KEY}}' exposes: - type: rest namespace: freshteam-sub-departments-rest port: 8080 description: REST adapter for Freshworks Freshteam API — Sub-Departments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sub-departments name: sub-departments description: REST surface for sub_departments. operations: - method: GET name: listsubdepartments description: List all sub-departments call: freshteam-sub-departments.listsubdepartments outputParameters: - type: object mapping: $. - type: mcp namespace: freshteam-sub-departments-mcp port: 9090 transport: http description: MCP adapter for Freshworks Freshteam API — Sub-Departments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-sub-departments description: List all sub-departments hints: readOnly: true destructive: false idempotent: true call: freshteam-sub-departments.listsubdepartments outputParameters: - type: object mapping: $.