docker_remove_container
Remove a Docker container by name or ID. Force-removes running containers when confirmed, freeing up system resources.
Instructions
Remove a Docker container.
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": {
"container": "<container>"
},
"name": "docker_remove_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | If True, force-remove a running container. | |
| confirm | No | Set to True to confirm this destructive operation. | |
| container | Yes | The container name or ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||