list_cached_images
List deployable OVA/OVF/ISO/VMDK images from the local cache registry without a vCenter connection or datastore I/O. Filter cached results by target, datastore, or image type.
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, which scan_datastore_images fills; results may be stale, and are empty until a scan has run. For a live listing use scan_datastore_images instead. Returns the list envelope: 'items' holds {target, 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_cached_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Only rows scanned from this vCenter/ESXi target (a name from config, as scan_datastore_images takes; an unknown name is refused with the configured ones). Rows cached before rows recorded their target appear only when this is omitted. Omit for every target. | |
| datastore | No | Filter by exact datastore name. Omit for all datastores. | |
| image_type | No | Filter by file extension without the dot, e.g. "ova", "iso", "ovf", "vmdk" (case-insensitive). Omit for all types. |