Delete a file from the source tree
delete_source_fileRemove one file from the site's editable source tree. The served files do not change until build_and_deploy runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Site name as shown by list_sites, e.g. my-portfolio. Provide name or siteId. | |
| path | Yes | Path inside the source tree to delete, e.g. 'src/old.css'. | |
| siteId | No | Site id from list_sites or get_site. Use instead of name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| siteId | Yes | ||
| existed | Yes | True if the file was present and removed; false if it didn't exist (no-op). |