browse_datastore
Browse vSphere datastore directories to locate OVA, ISO, or VMDK files for VM deployment or ISO attachment, returning file lists with completeness status.
Instructions
[READ] Browse files in a vSphere datastore directory.
Use this to find OVA/ISO/VMDK paths before calling deploy_vm_from_ova or attach_iso_to_vm; for an estate-wide image sweep use scan_datastore_images.
Returns the list envelope: 'items' is one row per file, and 'returned'/'total'/'truncated' state completeness. Every match in the searched folders is returned, so truncated is always false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Subdirectory path (empty string for root). | |
| target | No | Optional vCenter/ESXi target name from config. | |
| pattern | No | Glob pattern to filter files (e.g. "*.ova", "*.iso", "*"). | * |
| datastore_name | Yes | Name of the datastore to browse. |