network_connect
Connect a container to an existing Docker network to enable communication between containers. Optionally assign a network-scoped alias for service discovery.
Instructions
Connect a container to a 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": {
"network": "<network>",
"container": "<container>"
},
"name": "network_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | Add network-scoped alias for the container | |
| network | Yes | Network name or ID | |
| container | Yes | Container ID or name |