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.
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 | Yes | One sentence: why you are calling this tool and what you are trying to accomplish. Stored on the site's activity log and visible to everyone on the site — never put secrets or personal data here. | |
| guestToken | No | Guest token from start_site. Send it on every call until claim_site. Omit when this chat is already signed in to Dotsy. |