AddSynapse: undo all approved drafts (preview card button)
revert_all_changesetsAddSynapse: Undoes, newest first, the drafts that were approved together with «Approve all» in the app's draft view, on behalf of the signed-in site owner or admin who pressed «Undo all». Requires ui_nonce, a single-use token given to that view with the approval; without a valid one nothing happens.
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": {
"changeset_id": "<changeset_id>",
"ui_nonce": "<ui_nonce>"
},
"name": "revert_all_changesets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ui_nonce | Yes | Single-use token of the draft view's button. | |
| changeset_id | Yes | Change set id of the card whose button was pressed. |