network_management
Manage virtual networks and adapters: create or remove host-only networks, list networks and adapters, and configure VM network adapter settings.
Instructions
Comprehensive network management portmanteau tool.
This tool consolidates all network operations into a single interface. Use the 'action' parameter to specify which operation to perform. Different actions require different parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The operation to perform. Must be one of: - "list_networks": List all host-only networks (no other parameters required) - "create_network": Create a host-only network (requires: network_name) - "remove_network": Remove a host-only network (requires: network_name) - "list_adapters": List network adapters for a VM (requires: vm_name) - "configure_adapter": Configure network adapter for a VM (requires: vm_name, adapter_slot, network_type) | |
| network_name | No | Name of the host-only network (required for create_network, remove_network, configure_adapter) | |
| vm_name | No | Name of the virtual machine (required for list_adapters, configure_adapter) | |
| adapter_slot | No | Network adapter slot number 0-3 (required for configure_adapter) | |
| network_type | No | Network type for adapter configuration (required for configure_adapter). Valid values: "nat", "bridged", "hostonly", "internal", "generic", "natnetwork" | |
| ip_address | No | IP address for network configuration (optional for create_network) | |
| netmask | No | Network mask for network configuration (optional for create_network) | |
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||