docker_remove_container
Remove a Docker container by ID or name, optionally forcing deletion. Use it to clean up stopped or unwanted containers and free 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_id": "<container_id>"
},
"name": "docker_remove_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force remove the container | |
| container_id | Yes | Container ID or name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||