naftiko: 1.0.0-alpha2 info: label: Istio Networking API — WorkloadGroup description: 'Istio Networking API — WorkloadGroup. 5 operations. Lead operation: Istio List WorkloadGroups. Self-contained Naftiko capability covering one Istio business surface.' tags: - Istio - WorkloadGroup created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ISTIO_API_KEY: ISTIO_API_KEY capability: consumes: - type: http namespace: networking-workloadgroup baseUri: https://{cluster}/apis/networking.istio.io/v1 description: Istio Networking API — WorkloadGroup business capability. Self-contained, no shared references. resources: - name: namespaces-namespace-workloadgroups path: /namespaces/{namespace}/workloadgroups operations: - name: listworkloadgroups method: GET description: Istio List WorkloadGroups outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createworkloadgroup method: POST description: Istio Create a WorkloadGroup outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: namespaces-namespace-workloadgroups-name path: /namespaces/{namespace}/workloadgroups/{name} operations: - name: getworkloadgroup method: GET description: Istio Get a WorkloadGroup outputRawFormat: json outputParameters: - name: result type: object value: $. - name: replaceworkloadgroup method: PUT description: Istio Replace a WorkloadGroup outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteworkloadgroup method: DELETE description: Istio Delete a WorkloadGroup outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.ISTIO_API_KEY}}' exposes: - type: rest namespace: networking-workloadgroup-rest port: 8080 description: REST adapter for Istio Networking API — WorkloadGroup. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/namespaces/{namespace}/workloadgroups name: namespaces-namespace-workloadgroups description: REST surface for namespaces-namespace-workloadgroups. operations: - method: GET name: listworkloadgroups description: Istio List WorkloadGroups call: networking-workloadgroup.listworkloadgroups outputParameters: - type: object mapping: $. - method: POST name: createworkloadgroup description: Istio Create a WorkloadGroup call: networking-workloadgroup.createworkloadgroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/namespaces/{namespace}/workloadgroups/{name} name: namespaces-namespace-workloadgroups-name description: REST surface for namespaces-namespace-workloadgroups-name. operations: - method: GET name: getworkloadgroup description: Istio Get a WorkloadGroup call: networking-workloadgroup.getworkloadgroup outputParameters: - type: object mapping: $. - method: PUT name: replaceworkloadgroup description: Istio Replace a WorkloadGroup call: networking-workloadgroup.replaceworkloadgroup with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteworkloadgroup description: Istio Delete a WorkloadGroup call: networking-workloadgroup.deleteworkloadgroup outputParameters: - type: object mapping: $. - type: mcp namespace: networking-workloadgroup-mcp port: 9090 transport: http description: MCP adapter for Istio Networking API — WorkloadGroup. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: istio-list-workloadgroups description: Istio List WorkloadGroups hints: readOnly: true destructive: false idempotent: true call: networking-workloadgroup.listworkloadgroups outputParameters: - type: object mapping: $. - name: istio-create-workloadgroup description: Istio Create a WorkloadGroup hints: readOnly: false destructive: false idempotent: false call: networking-workloadgroup.createworkloadgroup with: body: tools.body outputParameters: - type: object mapping: $. - name: istio-get-workloadgroup description: Istio Get a WorkloadGroup hints: readOnly: true destructive: false idempotent: true call: networking-workloadgroup.getworkloadgroup outputParameters: - type: object mapping: $. - name: istio-replace-workloadgroup description: Istio Replace a WorkloadGroup hints: readOnly: false destructive: false idempotent: true call: networking-workloadgroup.replaceworkloadgroup with: body: tools.body outputParameters: - type: object mapping: $. - name: istio-delete-workloadgroup description: Istio Delete a WorkloadGroup hints: readOnly: false destructive: true idempotent: true call: networking-workloadgroup.deleteworkloadgroup outputParameters: - type: object mapping: $.