Drop staged changes
discard_stagedDrops a site's staged changes without touching the live site. Free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "discard_staged"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_key | No | The site whose staged changes should be dropped. Defaults to the caller's current draft site when omitted. | |
| draft_token | No | The draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header. |