docker_networks
Manage Docker networks to create, list, inspect, connect containers, or remove networks using bridge, overlay, or host drivers.
Instructions
Manage Docker networks
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": {
"action": "<action>"
},
"name": "docker_networks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform on networks | |
| network | No | Network name or ID | |
| container | No | Container to connect/disconnect | |
| driver | No | Network driver (bridge, overlay, host, etc.) | |
| subnet | No | Subnet for network (e.g., 172.20.0.0/16) | |
| gateway | No | Gateway for network |