browse_datastore
Browse vSphere datastore directories to find OVA, ISO, VMDK, and other files before deploying VMs. Filters by glob pattern.
Instructions
[READ] Browse files in a vSphere datastore directory.
Use this to discover OVA, ISO, VMDK, and other files on datastores before deploying VMs.
Args: datastore_name: Name of the datastore to browse. path: Subdirectory path (empty string for root). pattern: Glob pattern to filter files (e.g. ".ova", ".iso", "*"). target: Optional vCenter/ESXi target name from config.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"datastore_name": "<datastore_name>"
},
"name": "browse_datastore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| target | No | ||
| pattern | No | * | |
| datastore_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |