naftiko: 1.0.0-alpha2 info: label: Core API — Teammates description: 'Core API — Teammates. 5 operations. Lead operation: List teammates. Self-contained Naftiko capability covering one Front business surface.' tags: - Front - Teammates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FRONT_API_KEY: FRONT_API_KEY capability: consumes: - type: http namespace: core-teammates baseUri: https://api2.frontapp.com description: Core API — Teammates business capability. Self-contained, no shared references. resources: - name: teammates path: /teammates operations: - name: listteammates method: GET description: List teammates outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teammates-teammate_id path: /teammates/{teammate_id} operations: - name: getteammate method: GET description: Get teammate outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: teammate_id in: path type: string description: The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1). required: true - name: updateteammate method: PATCH description: Update teammate outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: teammate_id in: path type: string description: The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1). required: true - name: body in: body type: object description: Request body (JSON). required: false - name: teammates-teammate_id-conversations path: /teammates/{teammate_id}/conversations operations: - name: listassignedconversations method: GET description: List assigned conversations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: teammate_id in: path type: string description: The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1). required: true - name: teammates-teammate_id-inboxes path: /teammates/{teammate_id}/inboxes operations: - name: listteammateinboxes method: GET description: List teammate inboxes outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: teammate_id in: path type: string description: The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1). required: true authentication: type: bearer token: '{{env.FRONT_API_KEY}}' exposes: - type: rest namespace: core-teammates-rest port: 8080 description: REST adapter for Core API — Teammates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/teammates name: teammates description: REST surface for teammates. operations: - method: GET name: listteammates description: List teammates call: core-teammates.listteammates outputParameters: - type: object mapping: $. - path: /v1/teammates/{teammate-id} name: teammates-teammate-id description: REST surface for teammates-teammate_id. operations: - method: GET name: getteammate description: Get teammate call: core-teammates.getteammate with: teammate_id: rest.teammate_id outputParameters: - type: object mapping: $. - method: PATCH name: updateteammate description: Update teammate call: core-teammates.updateteammate with: teammate_id: rest.teammate_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teammates/{teammate-id}/conversations name: teammates-teammate-id-conversations description: REST surface for teammates-teammate_id-conversations. operations: - method: GET name: listassignedconversations description: List assigned conversations call: core-teammates.listassignedconversations with: teammate_id: rest.teammate_id outputParameters: - type: object mapping: $. - path: /v1/teammates/{teammate-id}/inboxes name: teammates-teammate-id-inboxes description: REST surface for teammates-teammate_id-inboxes. operations: - method: GET name: listteammateinboxes description: List teammate inboxes call: core-teammates.listteammateinboxes with: teammate_id: rest.teammate_id outputParameters: - type: object mapping: $. - type: mcp namespace: core-teammates-mcp port: 9090 transport: http description: MCP adapter for Core API — Teammates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-teammates description: List teammates hints: readOnly: true destructive: false idempotent: true call: core-teammates.listteammates outputParameters: - type: object mapping: $. - name: get-teammate description: Get teammate hints: readOnly: true destructive: false idempotent: true call: core-teammates.getteammate with: teammate_id: tools.teammate_id outputParameters: - type: object mapping: $. - name: update-teammate description: Update teammate hints: readOnly: false destructive: false idempotent: true call: core-teammates.updateteammate with: teammate_id: tools.teammate_id body: tools.body outputParameters: - type: object mapping: $. - name: list-assigned-conversations description: List assigned conversations hints: readOnly: true destructive: false idempotent: true call: core-teammates.listassignedconversations with: teammate_id: tools.teammate_id outputParameters: - type: object mapping: $. - name: list-teammate-inboxes description: List teammate inboxes hints: readOnly: true destructive: false idempotent: true call: core-teammates.listteammateinboxes with: teammate_id: tools.teammate_id outputParameters: - type: object mapping: $.