naftiko: 1.0.0-alpha2 info: label: Crossplane Kubernetes API — Functions description: 'Crossplane Kubernetes API — Functions. 4 operations. Lead operation: Crossplane List Functions. Self-contained Naftiko capability covering one Crossplane business surface.' tags: - Crossplane - Functions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CROSSPLANE_API_KEY: CROSSPLANE_API_KEY capability: consumes: - type: http namespace: kubernetes-functions baseUri: https://kubernetes.default.svc description: Crossplane Kubernetes API — Functions business capability. Self-contained, no shared references. resources: - name: apis-pkg.crossplane.io-v1-functions path: /apis/pkg.crossplane.io/v1/functions operations: - name: listfunctions method: GET description: Crossplane List Functions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createfunction method: POST description: Crossplane Install a Function outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: apis-pkg.crossplane.io-v1-functions-name path: /apis/pkg.crossplane.io/v1/functions/{name} operations: - name: getfunction method: GET description: Crossplane Get a Function outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletefunction method: DELETE description: Crossplane Uninstall a Function outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CROSSPLANE_API_KEY}}' exposes: - type: rest namespace: kubernetes-functions-rest port: 8080 description: REST adapter for Crossplane Kubernetes API — Functions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/apis/pkg-crossplane-io/v1/functions name: apis-pkg-crossplane-io-v1-functions description: REST surface for apis-pkg.crossplane.io-v1-functions. operations: - method: GET name: listfunctions description: Crossplane List Functions call: kubernetes-functions.listfunctions outputParameters: - type: object mapping: $. - method: POST name: createfunction description: Crossplane Install a Function call: kubernetes-functions.createfunction with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/apis/pkg-crossplane-io/v1/functions/{name} name: apis-pkg-crossplane-io-v1-functions-name description: REST surface for apis-pkg.crossplane.io-v1-functions-name. operations: - method: GET name: getfunction description: Crossplane Get a Function call: kubernetes-functions.getfunction outputParameters: - type: object mapping: $. - method: DELETE name: deletefunction description: Crossplane Uninstall a Function call: kubernetes-functions.deletefunction outputParameters: - type: object mapping: $. - type: mcp namespace: kubernetes-functions-mcp port: 9090 transport: http description: MCP adapter for Crossplane Kubernetes API — Functions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: crossplane-list-functions description: Crossplane List Functions hints: readOnly: true destructive: false idempotent: true call: kubernetes-functions.listfunctions outputParameters: - type: object mapping: $. - name: crossplane-install-function description: Crossplane Install a Function hints: readOnly: false destructive: false idempotent: false call: kubernetes-functions.createfunction with: body: tools.body outputParameters: - type: object mapping: $. - name: crossplane-get-function description: Crossplane Get a Function hints: readOnly: true destructive: false idempotent: true call: kubernetes-functions.getfunction outputParameters: - type: object mapping: $. - name: crossplane-uninstall-function description: Crossplane Uninstall a Function hints: readOnly: false destructive: true idempotent: true call: kubernetes-functions.deletefunction outputParameters: - type: object mapping: $.