delete_asset
Delete a static asset by key. The editor and draft preview drop it at once; the published site drops it at the next publish.
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": "<site>",
"key": "<key>"
},
"name": "delete_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Path after /assets/ on the site — e.g. photos/hero.webp or style.css. Do not prefix with assets/ or /. Uploaded files are live in the editor and draft preview at once; the published site picks them up at the next publish. | |
| site | Yes | Site slug, e.g. acme-studio | |
| context | No | Why you're calling this (activity log). |