delete_image
Delete an image stored for a website, freeing the space it takes against the account's storage. Give the address list_images gave you. This refuses while a page still shows the image, because deleting it would leave a broken picture on a live site; edit the page first, or pass force to delete it anyway. No page is ever edited for you.
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": {
"site_id": "<site_id>",
"url": "<url>"
},
"name": "delete_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The image address, exactly as list_images gave it. | |
| force | No | Delete even though a page still shows the image. Ask the owner before passing this. | |
| site_id | Yes | From list_sites. |