naftiko: 1.0.0-alpha2 info: label: QuantCDN API — AI Tools description: 'QuantCDN API — AI Tools. 5 operations. Lead operation: List available built-in tools for function calling. Self-contained Naftiko capability covering one Quantcdn business surface.' tags: - Quantcdn - AI Tools created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: QUANTCDN_API_KEY: QUANTCDN_API_KEY capability: consumes: - type: http namespace: quantcdn-ai-tools baseUri: https://dashboard.quantcdn.io description: QuantCDN API — AI Tools business capability. Self-contained, no shared references. resources: - name: api-v3-organizations-organisation-ai-tools path: /api/v3/organizations/{organisation}/ai/tools operations: - name: listaitools method: GET description: List available built-in tools for function calling outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: api-v3-organizations-organisation-ai-tools-executions path: /api/v3/organizations/{organisation}/ai/tools/executions operations: - name: listaitoolexecutions method: GET description: List tool executions for monitoring and debugging outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: status in: query type: string description: Filter by execution status - name: limit in: query type: integer description: Maximum number of executions to return - name: api-v3-organizations-organisation-ai-tools-executions-executionId path: /api/v3/organizations/{organisation}/ai/tools/executions/{executionId} operations: - name: getaitoolexecutionstatus method: GET description: Get async tool execution status and result outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: executionId in: path type: string description: Tool execution identifier required: true - name: api-v3-organizations-organisation-ai-tools-names path: /api/v3/organizations/{organisation}/ai/tools/names operations: - name: listaitoolnames method: GET description: List tool names only (lightweight response) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: api-v3-organizations-organisation-ai-tools-orchestrations-orchestrationId path: /api/v3/organizations/{organisation}/ai/tools/orchestrations/{orchestrationId} operations: - name: getaiorchestrationstatus method: GET description: Get Tool Orchestration Status (Async Tool Polling) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: orchestrationId in: path type: string description: Orchestration identifier for aggregated async tool executions required: true authentication: type: bearer token: '{{env.QUANTCDN_API_KEY}}' exposes: - type: rest namespace: quantcdn-ai-tools-rest port: 8080 description: REST adapter for QuantCDN API — AI Tools. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v3/organizations/{organisation}/ai/tools name: api-v3-organizations-organisation-ai-tools description: REST surface for api-v3-organizations-organisation-ai-tools. operations: - method: GET name: listaitools description: List available built-in tools for function calling call: quantcdn-ai-tools.listaitools with: organisation: rest.organisation outputParameters: - type: object mapping: $. - path: /v1/api/v3/organizations/{organisation}/ai/tools/executions name: api-v3-organizations-organisation-ai-tools-executions description: REST surface for api-v3-organizations-organisation-ai-tools-executions. operations: - method: GET name: listaitoolexecutions description: List tool executions for monitoring and debugging call: quantcdn-ai-tools.listaitoolexecutions with: organisation: rest.organisation status: rest.status limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/api/v3/organizations/{organisation}/ai/tools/executions/{executionid} name: api-v3-organizations-organisation-ai-tools-executions-executionid description: REST surface for api-v3-organizations-organisation-ai-tools-executions-executionId. operations: - method: GET name: getaitoolexecutionstatus description: Get async tool execution status and result call: quantcdn-ai-tools.getaitoolexecutionstatus with: organisation: rest.organisation executionId: rest.executionId outputParameters: - type: object mapping: $. - path: /v1/api/v3/organizations/{organisation}/ai/tools/names name: api-v3-organizations-organisation-ai-tools-names description: REST surface for api-v3-organizations-organisation-ai-tools-names. operations: - method: GET name: listaitoolnames description: List tool names only (lightweight response) call: quantcdn-ai-tools.listaitoolnames with: organisation: rest.organisation outputParameters: - type: object mapping: $. - path: /v1/api/v3/organizations/{organisation}/ai/tools/orchestrations/{orchestrationid} name: api-v3-organizations-organisation-ai-tools-orchestrations-orchestrationid description: REST surface for api-v3-organizations-organisation-ai-tools-orchestrations-orchestrationId. operations: - method: GET name: getaiorchestrationstatus description: Get Tool Orchestration Status (Async Tool Polling) call: quantcdn-ai-tools.getaiorchestrationstatus with: organisation: rest.organisation orchestrationId: rest.orchestrationId outputParameters: - type: object mapping: $. - type: mcp namespace: quantcdn-ai-tools-mcp port: 9090 transport: http description: MCP adapter for QuantCDN API — AI Tools. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-available-built-tools-function description: List available built-in tools for function calling hints: readOnly: true destructive: false idempotent: true call: quantcdn-ai-tools.listaitools with: organisation: tools.organisation outputParameters: - type: object mapping: $. - name: list-tool-executions-monitoring-and description: List tool executions for monitoring and debugging hints: readOnly: true destructive: false idempotent: true call: quantcdn-ai-tools.listaitoolexecutions with: organisation: tools.organisation status: tools.status limit: tools.limit outputParameters: - type: object mapping: $. - name: get-async-tool-execution-status description: Get async tool execution status and result hints: readOnly: true destructive: false idempotent: true call: quantcdn-ai-tools.getaitoolexecutionstatus with: organisation: tools.organisation executionId: tools.executionId outputParameters: - type: object mapping: $. - name: list-tool-names-only-lightweight description: List tool names only (lightweight response) hints: readOnly: true destructive: false idempotent: true call: quantcdn-ai-tools.listaitoolnames with: organisation: tools.organisation outputParameters: - type: object mapping: $. - name: get-tool-orchestration-status-async description: Get Tool Orchestration Status (Async Tool Polling) hints: readOnly: true destructive: false idempotent: true call: quantcdn-ai-tools.getaiorchestrationstatus with: organisation: tools.organisation orchestrationId: tools.orchestrationId outputParameters: - type: object mapping: $.