list_folders
List vSphere folders by type (virtual machine, host, datacenter, datastore, network) for organizing and managing infrastructure.
Instructions
List folders by type.
Args: hostname: vSphere hostname (e.g., vcenter.domain.local) folder_type: Folder type (VIRTUAL_MACHINE, HOST, DATACENTER, DATASTORE, NETWORK)
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": {
"hostname": "<hostname>"
},
"name": "list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| folder_type | No | VIRTUAL_MACHINE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |