Delete site page draft
delete_site_pageRemove the selected route's draft page. Its published copy remains live until a separate publication removes it. Does not delete the site or other routes. Starts an asynchronous internal-agent operation; poll get_agent_session. For corrections, call this same tool with its sessionId and unchanged target. Requires a provisioned site. Source edits may execute in its preview. The Replo agent uses its normal tools and connected integrations to implement and verify the requested changes. Use publish_site separately to make changes public. For multi-step Replo work, call skills with name "replo".
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": {
"siteId": "<siteId>",
"route": "<route>",
"instructions": "<instructions>"
},
"name": "delete_site_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | Page route within the selected site, such as / or /products/[handle]. | |
| siteId | Yes | Site ID from list_sites. | |
| sessionId | No | Omit to start this operation. To continue, supply the returned sessionId with the same operation and target; mismatches and legacy sessions are rejected. | |
| instructions | Yes | Requested changes for this operation only. Include necessary references, not conversation history, credentials, or unrelated personal data. |