remove_container
Removes a Docker container using its ID or name, with option to force stop and remove running containers.
Instructions
Remove a Docker container by ID or name. Use force to remove running containers.
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_id": "<container_id>"
},
"name": "remove_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_id | Yes | Container ID or name | |
| force | No | Force removal even if running (default: false) |