Remove image
remove_imageDelete a local Docker image by reference. Use force flag to remove even if in use.
Instructions
Delete a local image by reference. Pass force: true to remove even if in use.
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": {
"reference": "<reference>"
},
"name": "remove_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force removal | |
| reference | Yes | Image reference, e.g. alpine:latest |