Delete a site page
delete_site_pageOn one site of the account, named in site. Removes one file from the site folder, as a commit in the person's name: the page is gone from the site at once, and the history keeps it — restore_site_pages brings it back. Admins only.
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>",
"path": "<path>"
},
"name": "delete_site_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The file inside the site folder, like pages/about.liquid | |
| site | Yes | The site to work on, as list_sites names it |