manage_shared_folder
Control VMware Host-Guest shared folders for a VM: enable or disable sharing, add or remove shares, and set read-only or writable access.
Instructions
Manage VMware Host-Guest shared folders for a VM.
Args: vm: VM name, substring, or full .vmx path. action: 'enable', 'disable', 'add', 'remove', 'readonly', or 'writable'. share_name: Shared folder name (required for add/remove/readonly/writable). host_path: Host directory path (required for add/readonly/writable).
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": {
"vm": "<vm>",
"action": "<action>"
},
"name": "manage_shared_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| action | Yes | ||
| host_path | No | ||
| share_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||