naftiko: 1.0.0-alpha2 info: label: Nutanix Prism Element API v2 — Hosts description: 'Nutanix Prism Element API v2 — Hosts. 2 operations. Lead operation: Nutanix List hosts. Self-contained Naftiko capability covering one Nutanix business surface.' tags: - Nutanix - Hosts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NUTANIX_API_KEY: NUTANIX_API_KEY capability: consumes: - type: http namespace: prism-element-v2-hosts baseUri: https://{clusterIp}:9440/PrismGateway/services/rest/v2.0 description: Nutanix Prism Element API v2 — Hosts business capability. Self-contained, no shared references. resources: - name: hosts path: /hosts operations: - name: listhosts method: GET description: Nutanix List hosts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: hosts-id path: /hosts/{id} operations: - name: gethost method: GET description: Nutanix Get a host outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: basic username: '{{env.NUTANIX_USER}}' password: '{{env.NUTANIX_PASS}}' exposes: - type: rest namespace: prism-element-v2-hosts-rest port: 8080 description: REST adapter for Nutanix Prism Element API v2 — Hosts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/hosts name: hosts description: REST surface for hosts. operations: - method: GET name: listhosts description: Nutanix List hosts call: prism-element-v2-hosts.listhosts outputParameters: - type: object mapping: $. - path: /v1/hosts/{id} name: hosts-id description: REST surface for hosts-id. operations: - method: GET name: gethost description: Nutanix Get a host call: prism-element-v2-hosts.gethost outputParameters: - type: object mapping: $. - type: mcp namespace: prism-element-v2-hosts-mcp port: 9090 transport: http description: MCP adapter for Nutanix Prism Element API v2 — Hosts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: nutanix-list-hosts description: Nutanix List hosts hints: readOnly: true destructive: false idempotent: true call: prism-element-v2-hosts.listhosts outputParameters: - type: object mapping: $. - name: nutanix-get-host description: Nutanix Get a host hints: readOnly: true destructive: false idempotent: true call: prism-element-v2-hosts.gethost outputParameters: - type: object mapping: $.