Delete Image
sdnext_delete_imageDelete a generated image file from the SD.Next data directory by specifying its relative path. Use this to remove unwanted outputs.
Instructions
Delete a generated image file (DELETE /sdapi/v1/delete-image?file=...). DESTRUCTIVE.
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": {
"file": "<file>"
},
"name": "sdnext_delete_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path relative to SD.Next data dir (or an absolute path inside allowed dirs, e.g. "outputs/Generations/..."). |