image_remove
Remove a container image from WSL. Force delete images in use and control cleanup of untagged parents.
Instructions
Remove a container image.
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": {
"image": "<image>"
},
"name": "image_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force removal even if in use | |
| image | Yes | Image name or ID | |
| noPrune | No | Do not delete untagged parents |