naftiko: 1.0.0-alpha2 info: label: CodeProject.AI Server API — Audio description: 'CodeProject.AI Server API — Audio. 1 operations. Lead operation: Classify a sound file. Self-contained Naftiko capability covering one Codeproject business surface.' tags: - Codeproject - Audio created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CODEPROJECT_API_KEY: CODEPROJECT_API_KEY capability: consumes: - type: http namespace: ai-server-audio baseUri: http://localhost:32168 description: CodeProject.AI Server API — Audio business capability. Self-contained, no shared references. resources: - name: v1-sound-classify path: /v1/sound/classify operations: - name: classifysound method: POST description: Classify a sound file outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-Disabled value: '{{env.CODEPROJECT_API_KEY}}' placement: header exposes: - type: rest namespace: ai-server-audio-rest port: 8080 description: REST adapter for CodeProject.AI Server API — Audio. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/sound/classify name: v1-sound-classify description: REST surface for v1-sound-classify. operations: - method: POST name: classifysound description: Classify a sound file call: ai-server-audio.classifysound with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: ai-server-audio-mcp port: 9090 transport: http description: MCP adapter for CodeProject.AI Server API — Audio. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: classify-sound-file description: Classify a sound file hints: readOnly: false destructive: false idempotent: false call: ai-server-audio.classifysound with: body: tools.body outputParameters: - type: object mapping: $.