naftiko: 1.0.0-alpha2 info: label: Core API — Message Template Folders description: 'Core API — Message Template Folders. 11 operations. Lead operation: List folders. Self-contained Naftiko capability covering one Front business surface.' tags: - Front - Message Template Folders created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FRONT_API_KEY: FRONT_API_KEY capability: consumes: - type: http namespace: core-message-template-folders baseUri: https://api2.frontapp.com description: Core API — Message Template Folders business capability. Self-contained, no shared references. resources: - name: message_template_folders path: /message_template_folders operations: - name: listfolders method: GET description: List folders outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createfolder method: POST description: Create folder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: message_template_folders-message_template_folder_id path: /message_template_folders/{message_template_folder_id} operations: - name: getfolder method: GET description: Get folder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: message_template_folder_id in: path type: string description: The message template folder ID required: true - name: updatefolder method: PATCH description: Update folder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: message_template_folder_id in: path type: string description: The message template folder ID required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletefolder method: DELETE description: Delete folder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: message_template_folder_id in: path type: string description: The message template folder id required: true - name: message_template_folders-message_template_folder_id-message_template_folders path: /message_template_folders/{message_template_folder_id}/message_template_folders operations: - name: getchildfolders method: GET description: Get child folders outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: message_template_folder_id in: path type: string description: The message template folder ID required: true - name: createchildfolder method: POST description: Create child folder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: message_template_folder_id in: path type: string description: The parent message template folder ID required: true - name: body in: body type: object description: Request body (JSON). required: false - name: teammates-teammate_id-message_template_folders path: /teammates/{teammate_id}/message_template_folders operations: - name: listteammatefolders method: GET description: List teammate folders 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: createteammatefolder method: POST description: Create teammate folder 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: teams-team_id-message_template_folders path: /teams/{team_id}/message_template_folders operations: - name: listteamfolders method: GET description: List team folders outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: team_id in: path type: string description: The team ID required: true - name: createteamfolder method: POST description: Create team folder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: team_id in: path type: string description: The team ID required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.FRONT_API_KEY}}' exposes: - type: rest namespace: core-message-template-folders-rest port: 8080 description: REST adapter for Core API — Message Template Folders. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/message-template-folders name: message-template-folders description: REST surface for message_template_folders. operations: - method: GET name: listfolders description: List folders call: core-message-template-folders.listfolders outputParameters: - type: object mapping: $. - method: POST name: createfolder description: Create folder call: core-message-template-folders.createfolder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/message-template-folders/{message-template-folder-id} name: message-template-folders-message-template-folder-id description: REST surface for message_template_folders-message_template_folder_id. operations: - method: GET name: getfolder description: Get folder call: core-message-template-folders.getfolder with: message_template_folder_id: rest.message_template_folder_id outputParameters: - type: object mapping: $. - method: PATCH name: updatefolder description: Update folder call: core-message-template-folders.updatefolder with: message_template_folder_id: rest.message_template_folder_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletefolder description: Delete folder call: core-message-template-folders.deletefolder with: message_template_folder_id: rest.message_template_folder_id outputParameters: - type: object mapping: $. - path: /v1/message-template-folders/{message-template-folder-id}/message-template-folders name: message-template-folders-message-template-folder-id-message-template-folders description: REST surface for message_template_folders-message_template_folder_id-message_template_folders. operations: - method: GET name: getchildfolders description: Get child folders call: core-message-template-folders.getchildfolders with: message_template_folder_id: rest.message_template_folder_id outputParameters: - type: object mapping: $. - method: POST name: createchildfolder description: Create child folder call: core-message-template-folders.createchildfolder with: message_template_folder_id: rest.message_template_folder_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teammates/{teammate-id}/message-template-folders name: teammates-teammate-id-message-template-folders description: REST surface for teammates-teammate_id-message_template_folders. operations: - method: GET name: listteammatefolders description: List teammate folders call: core-message-template-folders.listteammatefolders with: teammate_id: rest.teammate_id outputParameters: - type: object mapping: $. - method: POST name: createteammatefolder description: Create teammate folder call: core-message-template-folders.createteammatefolder with: teammate_id: rest.teammate_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/message-template-folders name: teams-team-id-message-template-folders description: REST surface for teams-team_id-message_template_folders. operations: - method: GET name: listteamfolders description: List team folders call: core-message-template-folders.listteamfolders with: team_id: rest.team_id outputParameters: - type: object mapping: $. - method: POST name: createteamfolder description: Create team folder call: core-message-template-folders.createteamfolder with: team_id: rest.team_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: core-message-template-folders-mcp port: 9090 transport: http description: MCP adapter for Core API — Message Template Folders. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-folders description: List folders hints: readOnly: true destructive: false idempotent: true call: core-message-template-folders.listfolders outputParameters: - type: object mapping: $. - name: create-folder description: Create folder hints: readOnly: false destructive: false idempotent: false call: core-message-template-folders.createfolder with: body: tools.body outputParameters: - type: object mapping: $. - name: get-folder description: Get folder hints: readOnly: true destructive: false idempotent: true call: core-message-template-folders.getfolder with: message_template_folder_id: tools.message_template_folder_id outputParameters: - type: object mapping: $. - name: update-folder description: Update folder hints: readOnly: false destructive: false idempotent: true call: core-message-template-folders.updatefolder with: message_template_folder_id: tools.message_template_folder_id body: tools.body outputParameters: - type: object mapping: $. - name: delete-folder description: Delete folder hints: readOnly: false destructive: true idempotent: true call: core-message-template-folders.deletefolder with: message_template_folder_id: tools.message_template_folder_id outputParameters: - type: object mapping: $. - name: get-child-folders description: Get child folders hints: readOnly: true destructive: false idempotent: true call: core-message-template-folders.getchildfolders with: message_template_folder_id: tools.message_template_folder_id outputParameters: - type: object mapping: $. - name: create-child-folder description: Create child folder hints: readOnly: false destructive: false idempotent: false call: core-message-template-folders.createchildfolder with: message_template_folder_id: tools.message_template_folder_id body: tools.body outputParameters: - type: object mapping: $. - name: list-teammate-folders description: List teammate folders hints: readOnly: true destructive: false idempotent: true call: core-message-template-folders.listteammatefolders with: teammate_id: tools.teammate_id outputParameters: - type: object mapping: $. - name: create-teammate-folder description: Create teammate folder hints: readOnly: false destructive: false idempotent: false call: core-message-template-folders.createteammatefolder with: teammate_id: tools.teammate_id body: tools.body outputParameters: - type: object mapping: $. - name: list-team-folders description: List team folders hints: readOnly: true destructive: false idempotent: true call: core-message-template-folders.listteamfolders with: team_id: tools.team_id outputParameters: - type: object mapping: $. - name: create-team-folder description: Create team folder hints: readOnly: false destructive: false idempotent: false call: core-message-template-folders.createteamfolder with: team_id: tools.team_id body: tools.body outputParameters: - type: object mapping: $.