Remove container
docker_remove_containerRemoves a Docker container by its ID, with optional force and confirmation flags for destructive deletion.
Instructions
Invoke the remove_container 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": {
"container_id": "<container_id>"
},
"name": "docker_remove_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| 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. | |
| container_id | Yes |