naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Custom voice API — TrainingSet description: 'Microsoft Azure Custom voice API — TrainingSet. 5 operations. Lead operation: Microsoft Azure Get Trainingsets. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - TrainingSet created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: custom-voice-trainingset baseUri: '' description: Microsoft Azure Custom voice API — TrainingSet business capability. Self-contained, no shared references. resources: - name: trainingsets path: /trainingsets operations: - name: microsoftazuretrainingsetslist method: GET description: Microsoft Azure Get Trainingsets outputRawFormat: json outputParameters: - name: result type: object value: $. - name: trainingsets-id path: /trainingsets/{id} operations: - name: microsoftazuretrainingsetsget method: GET description: Microsoft Azure Get Trainingsets Id outputRawFormat: json outputParameters: - name: result type: object value: $. - name: microsoftazuretrainingsetsdelete method: DELETE description: Microsoft Azure Delete Trainingsets Id outputRawFormat: json outputParameters: - name: result type: object value: $. - name: microsoftazuretrainingsetscreate method: PUT description: Microsoft Azure Put Trainingsets Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: trainingset in: body type: string description: training set definition required: true - name: trainingsets-id}:upload path: /trainingsets/{id}:upload operations: - name: microsoftazuretrainingsetsuploaddata method: POST description: Microsoft Azure Post Trainingsets Id:upload outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dataset in: body type: string description: Dataset to be uploaded required: true exposes: - type: rest namespace: custom-voice-trainingset-rest port: 8080 description: REST adapter for Microsoft Azure Custom voice API — TrainingSet. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/trainingsets name: trainingsets description: REST surface for trainingsets. operations: - method: GET name: microsoftazuretrainingsetslist description: Microsoft Azure Get Trainingsets call: custom-voice-trainingset.microsoftazuretrainingsetslist outputParameters: - type: object mapping: $. - path: /v1/trainingsets/{id} name: trainingsets-id description: REST surface for trainingsets-id. operations: - method: GET name: microsoftazuretrainingsetsget description: Microsoft Azure Get Trainingsets Id call: custom-voice-trainingset.microsoftazuretrainingsetsget outputParameters: - type: object mapping: $. - method: DELETE name: microsoftazuretrainingsetsdelete description: Microsoft Azure Delete Trainingsets Id call: custom-voice-trainingset.microsoftazuretrainingsetsdelete outputParameters: - type: object mapping: $. - method: PUT name: microsoftazuretrainingsetscreate description: Microsoft Azure Put Trainingsets Id call: custom-voice-trainingset.microsoftazuretrainingsetscreate with: trainingset: rest.trainingset outputParameters: - type: object mapping: $. - path: /v1/trainingsets/id-upload name: trainingsets-id-upload description: REST surface for trainingsets-id}:upload. operations: - method: POST name: microsoftazuretrainingsetsuploaddata description: Microsoft Azure Post Trainingsets Id:upload call: custom-voice-trainingset.microsoftazuretrainingsetsuploaddata with: dataset: rest.dataset outputParameters: - type: object mapping: $. - type: mcp namespace: custom-voice-trainingset-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Custom voice API — TrainingSet. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-get-trainingsets description: Microsoft Azure Get Trainingsets hints: readOnly: true destructive: false idempotent: true call: custom-voice-trainingset.microsoftazuretrainingsetslist outputParameters: - type: object mapping: $. - name: microsoft-azure-get-trainingsets-id description: Microsoft Azure Get Trainingsets Id hints: readOnly: true destructive: false idempotent: true call: custom-voice-trainingset.microsoftazuretrainingsetsget outputParameters: - type: object mapping: $. - name: microsoft-azure-delete-trainingsets-id description: Microsoft Azure Delete Trainingsets Id hints: readOnly: false destructive: true idempotent: true call: custom-voice-trainingset.microsoftazuretrainingsetsdelete outputParameters: - type: object mapping: $. - name: microsoft-azure-put-trainingsets-id description: Microsoft Azure Put Trainingsets Id hints: readOnly: false destructive: false idempotent: true call: custom-voice-trainingset.microsoftazuretrainingsetscreate with: trainingset: tools.trainingset outputParameters: - type: object mapping: $. - name: microsoft-azure-post-trainingsets-id-upload description: Microsoft Azure Post Trainingsets Id:upload hints: readOnly: false destructive: false idempotent: false call: custom-voice-trainingset.microsoftazuretrainingsetsuploaddata with: dataset: tools.dataset outputParameters: - type: object mapping: $.