infra_prune_tool
Reclaim Docker disk space by pruning build cache, dangling images, stopped containers, or unused images. Requires confirmation for safety.
Instructions
Reclaim docker disk space. Requires confirm=true.
target: 'build_cache' (safest), 'dangling_images', 'stopped_containers', 'all_images' (riskier — removes any image not used by a running container).
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": "infra_prune_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | build_cache | |
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||