Remove container
podman_remove_containerDeletes a Podman container by ID, with an optional force flag to stop and remove running containers and a confirm flag for destructive operations. Use it to clean up unused containers.
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": "podman_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. | |
| container_id | Yes |