VMware · Capability

VMware vSphere Automation REST API — Datastores

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

Run with Naftiko VmwareDatastores

What You Can Do

GET
Listdatastores — Vmware List Datastores
/v1/vcenter/datastore
GET
Getdatastore — Vmware Get Datastore Details
/v1/vcenter/datastore/{datastore}

MCP Tools

vmware-list-datastores

Vmware List Datastores

read-only idempotent
vmware-get-datastore-details

Vmware Get Datastore Details

read-only idempotent

Capability Spec

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