network_management
Consolidates network operations for virtual machines: list, create, or remove host-only networks; list and configure network adapters.
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 |
|---|---|---|---|
| limit | No | ||
| 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) | |
| offset | No | ||
| netmask | No | Network mask for network configuration (optional for create_network) | |
| vm_name | No | Name of the virtual machine (required for list_adapters, configure_adapter) | |
| ip_address | No | IP address for network configuration (optional for create_network) | |
| adapter_slot | No | Network adapter slot number 0-3 (required for configure_adapter) | |
| network_name | No | Name of the host-only network (required for create_network, remove_network, configure_adapter) | |
| network_type | No | Network type for adapter configuration (required for configure_adapter). Valid values: "nat", "bridged", "hostonly", "internal", "generic", "natnetwork" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||