naftiko: 1.0.0-alpha2 info: label: Kubernetes Services Kubernetes EndpointSlices API — EndpointSlices description: 'Kubernetes Services Kubernetes EndpointSlices API — EndpointSlices. 7 operations. Lead operation: Kubernetes Services List EndpointSlices across all namespaces. Self-contained Naftiko capability covering one Kubernetes Services business surface.' tags: - Kubernetes Services - EndpointSlices created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KUBERNETES_SERVICES_API_KEY: KUBERNETES_SERVICES_API_KEY capability: consumes: - type: http namespace: kubernetes-endpoint-slices-endpointslices baseUri: https://kubernetes.default.svc description: Kubernetes Services Kubernetes EndpointSlices API — EndpointSlices business capability. Self-contained, no shared references. resources: - name: apis-discovery.k8s.io-v1-endpointslices path: /apis/discovery.k8s.io/v1/endpointslices operations: - name: listendpointslicesallnamespaces method: GET description: Kubernetes Services List EndpointSlices across all namespaces outputRawFormat: json outputParameters: - name: result type: object value: $. - name: apis-discovery.k8s.io-v1-namespaces-namespace-endpointslices path: /apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices operations: - name: listnamespacedendpointslices method: GET description: Kubernetes Services List EndpointSlices in a namespace outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createnamespacedendpointslice method: POST description: Kubernetes Services Create an EndpointSlice outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: apis-discovery.k8s.io-v1-namespaces-namespace-endpointslices-name path: /apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name} operations: - name: getnamespacedendpointslice method: GET description: Kubernetes Services Get an EndpointSlice outputRawFormat: json outputParameters: - name: result type: object value: $. - name: replacenamespacedendpointslice method: PUT description: Kubernetes Services Replace an EndpointSlice outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: patchnamespacedendpointslice method: PATCH description: Kubernetes Services Patch an EndpointSlice outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletenamespacedendpointslice method: DELETE description: Kubernetes Services Delete an EndpointSlice outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.KUBERNETES_SERVICES_API_KEY}}' exposes: - type: rest namespace: kubernetes-endpoint-slices-endpointslices-rest port: 8080 description: REST adapter for Kubernetes Services Kubernetes EndpointSlices API — EndpointSlices. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/apis/discovery-k8s-io/v1/endpointslices name: apis-discovery-k8s-io-v1-endpointslices description: REST surface for apis-discovery.k8s.io-v1-endpointslices. operations: - method: GET name: listendpointslicesallnamespaces description: Kubernetes Services List EndpointSlices across all namespaces call: kubernetes-endpoint-slices-endpointslices.listendpointslicesallnamespaces outputParameters: - type: object mapping: $. - path: /v1/apis/discovery-k8s-io/v1/namespaces/{namespace}/endpointslices name: apis-discovery-k8s-io-v1-namespaces-namespace-endpointslices description: REST surface for apis-discovery.k8s.io-v1-namespaces-namespace-endpointslices. operations: - method: GET name: listnamespacedendpointslices description: Kubernetes Services List EndpointSlices in a namespace call: kubernetes-endpoint-slices-endpointslices.listnamespacedendpointslices outputParameters: - type: object mapping: $. - method: POST name: createnamespacedendpointslice description: Kubernetes Services Create an EndpointSlice call: kubernetes-endpoint-slices-endpointslices.createnamespacedendpointslice with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/apis/discovery-k8s-io/v1/namespaces/{namespace}/endpointslices/{name} name: apis-discovery-k8s-io-v1-namespaces-namespace-endpointslices-name description: REST surface for apis-discovery.k8s.io-v1-namespaces-namespace-endpointslices-name. operations: - method: GET name: getnamespacedendpointslice description: Kubernetes Services Get an EndpointSlice call: kubernetes-endpoint-slices-endpointslices.getnamespacedendpointslice outputParameters: - type: object mapping: $. - method: PUT name: replacenamespacedendpointslice description: Kubernetes Services Replace an EndpointSlice call: kubernetes-endpoint-slices-endpointslices.replacenamespacedendpointslice with: body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: patchnamespacedendpointslice description: Kubernetes Services Patch an EndpointSlice call: kubernetes-endpoint-slices-endpointslices.patchnamespacedendpointslice with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletenamespacedendpointslice description: Kubernetes Services Delete an EndpointSlice call: kubernetes-endpoint-slices-endpointslices.deletenamespacedendpointslice outputParameters: - type: object mapping: $. - type: mcp namespace: kubernetes-endpoint-slices-endpointslices-mcp port: 9090 transport: http description: MCP adapter for Kubernetes Services Kubernetes EndpointSlices API — EndpointSlices. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: kubernetes-services-list-endpointslices-across description: Kubernetes Services List EndpointSlices across all namespaces hints: readOnly: true destructive: false idempotent: true call: kubernetes-endpoint-slices-endpointslices.listendpointslicesallnamespaces outputParameters: - type: object mapping: $. - name: kubernetes-services-list-endpointslices-namespace description: Kubernetes Services List EndpointSlices in a namespace hints: readOnly: true destructive: false idempotent: true call: kubernetes-endpoint-slices-endpointslices.listnamespacedendpointslices outputParameters: - type: object mapping: $. - name: kubernetes-services-create-endpointslice description: Kubernetes Services Create an EndpointSlice hints: readOnly: false destructive: false idempotent: false call: kubernetes-endpoint-slices-endpointslices.createnamespacedendpointslice with: body: tools.body outputParameters: - type: object mapping: $. - name: kubernetes-services-get-endpointslice description: Kubernetes Services Get an EndpointSlice hints: readOnly: true destructive: false idempotent: true call: kubernetes-endpoint-slices-endpointslices.getnamespacedendpointslice outputParameters: - type: object mapping: $. - name: kubernetes-services-replace-endpointslice description: Kubernetes Services Replace an EndpointSlice hints: readOnly: false destructive: false idempotent: true call: kubernetes-endpoint-slices-endpointslices.replacenamespacedendpointslice with: body: tools.body outputParameters: - type: object mapping: $. - name: kubernetes-services-patch-endpointslice description: Kubernetes Services Patch an EndpointSlice hints: readOnly: false destructive: false idempotent: true call: kubernetes-endpoint-slices-endpointslices.patchnamespacedendpointslice with: body: tools.body outputParameters: - type: object mapping: $. - name: kubernetes-services-delete-endpointslice description: Kubernetes Services Delete an EndpointSlice hints: readOnly: false destructive: true idempotent: true call: kubernetes-endpoint-slices-endpointslices.deletenamespacedendpointslice outputParameters: - type: object mapping: $.