network_create
Create a new WSL network to connect containers. Specify the network name, driver, and optional settings.
Instructions
Create a new WSL network.
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": "network_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opt | No | Driver-specific options (KEY=VALUE) | |
| name | Yes | Network name | |
| label | No | Network metadata labels | |
| driver | No | Network driver name (default: bridge) |