vm_network_config
Enable or disable network access for a sandboxed VM, using user-mode NAT only. Changes apply at the next boot, so restart the VM to activate them.
Instructions
Set the VM's network flag: OFF by default; enabling needs the user's OK (RULES.md). Only user-mode NAT is implemented (bridge raises honestly). Applies at the next vm_boot - a running VM keeps its old network until shutdown + boot. Check with vm_status.
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": {
"name": "<name>"
},
"name": "vm_network_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nat | No | ||
| name | Yes | ||
| enable | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |