dokploy_docker_image
List Docker images on a Dokploy server, inspect image configuration by reference or ID, and remove images by repository, tag, and ID with optional force deletion.
Instructions
Docker image inventory. getImages: list images, serverId?. getImageConfig: imageRef ('nginx:latest' or an image ID), serverId?. removeImage: requires ALL THREE of repository, tag and id — read them off getImages — plus force? and serverId?. For overall disk usage and build cache see dokploy_docker getDiskUsage / getBuildCache / pruneBuildCache.
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": {
"action": "<action>"
},
"name": "dokploy_docker_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | removeImage: image ID from getImages | |
| tag | No | removeImage: image tag, e.g. 'latest' | |
| force | No | removeImage: remove even when containers reference the image | |
| action | Yes | ||
| imageRef | No | getImageConfig: image reference or ID | |
| serverId | No | ||
| repository | No | removeImage: image repository, e.g. 'nginx' |