docker_prune
Remove stopped containers, dangling images, unused networks, and build cache to reclaim disk space. Requires confirmation; can also delete anonymous volumes when enabled.
Instructions
Reclaim space by removing stopped containers, dangling images, unused
networks and build cache (docker system prune -f). Set volumes=True to
also drop anonymous volumes (DELETES their data). Requires confirm=True.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "docker_prune"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| volumes | No |