Remove network
docker_remove_networkDeletes a Docker network by ID, with confirmation for destructive removal, to clean up unused or misconfigured networks.
Instructions
Invoke the remove_network operation.
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_id": "<network_id>"
},
"name": "docker_remove_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Explicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt. | |
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| network_id | Yes |