Restore an earlier version
restore_versionPut an earlier version's code in the draft, to try and publish: see read_guide("publishing").
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": {
"app": "<app>",
"version": "<version>"
},
"name": "restore_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app, as list_apps names it, such as sam/budget. | |
| version | Yes | A version or commit from read_app_overview. |