image_action
Pull, remove, tag, or push Docker images with registry authentication and force removal options.
Instructions
Perform actions on Docker images: pull, remove, tag, or push.
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>",
"image": "<image>"
},
"name": "image_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Target tag (tag only). Default: "latest". | |
| auth | No | Registry authentication credentials (for pull/push). | |
| repo | No | Target repository name (tag only). | |
| force | No | Force removal even if image is in use (remove only). Default: false. | |
| image | Yes | Image name or ID (e.g., "nginx:latest" or "abc123"). | |
| action | Yes | Action to perform on the image. |