list_cached_images
List cached OVA, OVF, ISO, VMDK images from local registry without vCenter connection. Filter by image type or datastore for quick retrieval.
Instructions
[READ] List deployable images (OVA/OVF/ISO/VMDK) from the local cache registry — instant, no vCenter connection or datastore I/O.
Reads ~/.vmware-storage/image_registry.json, populated by prior datastore scans; results may be stale or empty if no scan has run. For a live listing use scan_datastore_images instead. Returns the list envelope: 'items' holds {datastore, name, ds_path, size_mb, type, modified} and is empty if nothing matches, while 'returned'/'total'/'truncated' state whether the listing is complete. The whole registry is filtered in memory, so truncated is always false.
Args: image_type: Filter by file extension without the dot, e.g. "ova", "iso", "ovf", "vmdk" (case-insensitive). Omit for all types. datastore: Filter by exact datastore name. Omit for all datastores.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datastore | No | ||
| image_type | No |