VMware · Capability

VMware vSphere Automation REST API — Resource Pools

VMware vSphere Automation REST API — Resource Pools. 1 operations. Lead operation: Vmware List Resource Pools. Self-contained Naftiko capability covering one Vmware business surface.

Run with Naftiko VmwareResource Pools

What You Can Do

GET
Listresourcepools — Vmware List Resource Pools
/v1/vcenter/resource-pool

MCP Tools

vmware-list-resource-pools

Vmware List Resource Pools

read-only idempotent

Capability Spec

vsphere-resource-pools.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: VMware vSphere Automation REST API — Resource Pools
  description: 'VMware vSphere Automation REST API — Resource Pools. 1 operations. Lead operation: Vmware List Resource Pools.
    Self-contained Naftiko capability covering one Vmware business surface.'
  tags:
  - Vmware
  - Resource Pools
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VMWARE_API_KEY: VMWARE_API_KEY
capability:
  consumes:
  - type: http
    namespace: vsphere-resource-pools
    baseUri: https://{vcenter}/api
    description: VMware vSphere Automation REST API — Resource Pools business capability. Self-contained, no shared references.
    resources:
    - name: vcenter-resource-pool
      path: /vcenter/resource-pool
      operations:
      - name: listresourcepools
        method: GET
        description: Vmware List Resource Pools
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter.resource_pools
          in: query
          type: array
          description: Identifiers of resource pools to filter by
        - name: filter.names
          in: query
          type: array
          description: Names of resource pools to filter by
        - name: filter.clusters
          in: query
          type: array
          description: Clusters that must contain the resource pools
        - name: filter.hosts
          in: query
          type: array
          description: Hosts that must contain the resource pools
        - name: filter.parent_resource_pools
          in: query
          type: array
          description: Parent resource pools to filter by
    authentication:
      type: apikey
      key: vmware-api-session-id
      value: '{{env.VMWARE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: vsphere-resource-pools-rest
    port: 8080
    description: REST adapter for VMware vSphere Automation REST API — Resource Pools. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/vcenter/resource-pool
      name: vcenter-resource-pool
      description: REST surface for vcenter-resource-pool.
      operations:
      - method: GET
        name: listresourcepools
        description: Vmware List Resource Pools
        call: vsphere-resource-pools.listresourcepools
        with:
          filter.resource_pools: rest.filter.resource_pools
          filter.names: rest.filter.names
          filter.clusters: rest.filter.clusters
          filter.hosts: rest.filter.hosts
          filter.parent_resource_pools: rest.filter.parent_resource_pools
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: vsphere-resource-pools-mcp
    port: 9090
    transport: http
    description: MCP adapter for VMware vSphere Automation REST API — Resource Pools. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: vmware-list-resource-pools
      description: Vmware List Resource Pools
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: vsphere-resource-pools.listresourcepools
      with:
        filter.resource_pools: tools.filter.resource_pools
        filter.names: tools.filter.names
        filter.clusters: tools.filter.clusters
        filter.hosts: tools.filter.hosts
        filter.parent_resource_pools: tools.filter.parent_resource_pools
      outputParameters:
      - type: object
        mapping: $.