Undo a content change
content_undoUndo a change made through content_save, content_upload or content_trash on a connected site: an edit gets its old values back, a created item goes to the trash, a trashed one comes back. Without change_id it lists the changes of the last 90 days with their ids.
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": "content_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The connected site, by its name or address (see connected_sites). Optional when one site is connected. | |
| change_id | No |