Delete a photo
delete_photoPermanently deletes a photo from storage. Sections that still use it show a broken image until they are updated.
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>",
"asset_id": "<asset_id>"
},
"name": "delete_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site id from list_sites or create_site. | |
| asset_id | Yes | The photo id (starts with ast_) from list_photos. |