esxi_datastore_rm
Deletes a specified file or directory from an ESXi datastore using the host alias and path, removing contents recursively by default.
Instructions
Remove a file or directory from an ESXi datastore (govc datastore.rm; recursive by default).
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": {
"alias": "<alias>",
"path": "<path>"
},
"name": "esxi_datastore_rm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| alias | Yes |