naftiko: 1.0.0-alpha2 info: label: Red Hat OpenShift Cluster Manager API — Machine Pools description: 'Red Hat OpenShift Cluster Manager API — Machine Pools. 2 operations. Lead operation: List Machine Pools. Self-contained Naftiko capability covering one Red Hat Openshift business surface.' tags: - Red Hat Openshift - Machine Pools created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RED_HAT_OPENSHIFT_API_KEY: RED_HAT_OPENSHIFT_API_KEY capability: consumes: - type: http namespace: cluster-manager-machine-pools baseUri: https://api.openshift.com description: Red Hat OpenShift Cluster Manager API — Machine Pools business capability. Self-contained, no shared references. resources: - name: api-clusters_mgmt-v1-clusters-cluster_id-machine_pools path: /api/clusters_mgmt/v1/clusters/{cluster_id}/machine_pools operations: - name: listmachinepools method: GET description: List Machine Pools outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createmachinepool method: POST description: Create Machine Pool outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.RED_HAT_OPENSHIFT_API_KEY}}' exposes: - type: rest namespace: cluster-manager-machine-pools-rest port: 8080 description: REST adapter for Red Hat OpenShift Cluster Manager API — Machine Pools. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/clusters-mgmt/v1/clusters/{cluster-id}/machine-pools name: api-clusters-mgmt-v1-clusters-cluster-id-machine-pools description: REST surface for api-clusters_mgmt-v1-clusters-cluster_id-machine_pools. operations: - method: GET name: listmachinepools description: List Machine Pools call: cluster-manager-machine-pools.listmachinepools outputParameters: - type: object mapping: $. - method: POST name: createmachinepool description: Create Machine Pool call: cluster-manager-machine-pools.createmachinepool with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: cluster-manager-machine-pools-mcp port: 9090 transport: http description: MCP adapter for Red Hat OpenShift Cluster Manager API — Machine Pools. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-machine-pools description: List Machine Pools hints: readOnly: true destructive: false idempotent: true call: cluster-manager-machine-pools.listmachinepools outputParameters: - type: object mapping: $. - name: create-machine-pool description: Create Machine Pool hints: readOnly: false destructive: false idempotent: false call: cluster-manager-machine-pools.createmachinepool with: body: tools.body outputParameters: - type: object mapping: $.