Remove a network
remove_networkRemove a Docker network by name or ID only when no containers are attached; confirmation is requested first, and declining leaves it unchanged.
Instructions
Remove a network (no container may be attached). The server asks the person to confirm it, naming what goes; if they say no, nothing is done.
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>"
},
"name": "remove_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | The network's name or id, as its list gives it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| removed | Yes |