Undo a recipe change
restore_revisionRoll a recipe back to an earlier revision (ingredients, steps, filing, all fields). Overwrites the current fields with the old revision's; the current version is kept as a revision, so it can be undone with another restore_revision. Get revision_no from list_history first. Needs edit access; blocked on read-only accounts. Returns the restored recipe.
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": {
"id": "<id>",
"revision_no": "<revision_no>"
},
"name": "restore_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Recipe id (UUID) from search_recipes or an earlier result | |
| revision_no | Yes | Revision number from list_history, e.g. 3 |