delete_image
Permanently removes an image along with its versions, build context, and every application created from it. Requires typing the exact image name to confirm and is blocked while a build is running.
Instructions
DELETES the image permanently: its versions, its build context and EVERY application created from it. confirm_name must be exactly the image's name, or the call fails with IMAGE_NAME_MISMATCH. Refused with IMAGE_BUILD_IN_PROGRESS while a build runs. When the image has apps, the key also needs the apps:delete scope (images:write does not cover deleting). (scope: images:delete)
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": {
"id": "<id>",
"confirm_name": "<confirm_name>"
},
"name": "delete_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Image ID | |
| confirm_name | Yes | The image's name, typed again to confirm the deletion | |
| workspace_id | No | ID of the workspace the image belongs to, if any |