naftiko: 1.0.0-alpha2 info: label: QuantCDN API — AI Custom Tools description: 'QuantCDN API — AI Custom Tools. 4 operations. Lead operation: List Custom Tools. Self-contained Naftiko capability covering one Quantcdn business surface.' tags: - Quantcdn - AI Custom 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-custom-tools baseUri: https://dashboard.quantcdn.io description: QuantCDN API — AI Custom Tools business capability. Self-contained, no shared references. resources: - name: api-v3-organizations-organisation-ai-custom-tools path: /api/v3/organizations/{organisation}/ai/custom-tools operations: - name: listcustomtools method: GET description: List Custom Tools outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: createcustomtool method: POST description: Register Custom Edge Function Tool outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-v3-organizations-organisation-ai-custom-tools-toolName path: /api/v3/organizations/{organisation}/ai/custom-tools/{toolName} operations: - name: deletecustomtool method: DELETE description: Delete Custom Tool outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: toolName in: path type: string description: The tool name to delete required: true - name: getcustomtool method: GET description: Get Custom Tool outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organisation in: path type: string description: The organisation ID required: true - name: toolName in: path type: string description: The tool name to retrieve required: true authentication: type: bearer token: '{{env.QUANTCDN_API_KEY}}' exposes: - type: rest namespace: quantcdn-ai-custom-tools-rest port: 8080 description: REST adapter for QuantCDN API — AI Custom Tools. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v3/organizations/{organisation}/ai/custom-tools name: api-v3-organizations-organisation-ai-custom-tools description: REST surface for api-v3-organizations-organisation-ai-custom-tools. operations: - method: GET name: listcustomtools description: List Custom Tools call: quantcdn-ai-custom-tools.listcustomtools with: organisation: rest.organisation outputParameters: - type: object mapping: $. - method: POST name: createcustomtool description: Register Custom Edge Function Tool call: quantcdn-ai-custom-tools.createcustomtool with: organisation: rest.organisation body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v3/organizations/{organisation}/ai/custom-tools/{toolname} name: api-v3-organizations-organisation-ai-custom-tools-toolname description: REST surface for api-v3-organizations-organisation-ai-custom-tools-toolName. operations: - method: DELETE name: deletecustomtool description: Delete Custom Tool call: quantcdn-ai-custom-tools.deletecustomtool with: organisation: rest.organisation toolName: rest.toolName outputParameters: - type: object mapping: $. - method: GET name: getcustomtool description: Get Custom Tool call: quantcdn-ai-custom-tools.getcustomtool with: organisation: rest.organisation toolName: rest.toolName outputParameters: - type: object mapping: $. - type: mcp namespace: quantcdn-ai-custom-tools-mcp port: 9090 transport: http description: MCP adapter for QuantCDN API — AI Custom Tools. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-custom-tools description: List Custom Tools hints: readOnly: true destructive: false idempotent: true call: quantcdn-ai-custom-tools.listcustomtools with: organisation: tools.organisation outputParameters: - type: object mapping: $. - name: register-custom-edge-function-tool description: Register Custom Edge Function Tool hints: readOnly: false destructive: false idempotent: false call: quantcdn-ai-custom-tools.createcustomtool with: organisation: tools.organisation body: tools.body outputParameters: - type: object mapping: $. - name: delete-custom-tool description: Delete Custom Tool hints: readOnly: false destructive: true idempotent: true call: quantcdn-ai-custom-tools.deletecustomtool with: organisation: tools.organisation toolName: tools.toolName outputParameters: - type: object mapping: $. - name: get-custom-tool description: Get Custom Tool hints: readOnly: true destructive: false idempotent: true call: quantcdn-ai-custom-tools.getcustomtool with: organisation: tools.organisation toolName: tools.toolName outputParameters: - type: object mapping: $.