List saved versions
list_versionsA document's saved versions (its History), newest first: id, number, name, when it was saved, who saved it, autoSave (Lilia saved it on its own, e.g. before a restore), blockCount, and current (the document is exactly this version now). A version named "Before edit" is the undo point saved before that app's first change. restore_version takes the id. The newest 20 unless limit says otherwise; total says how many there are.
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": {
"documentId": "<documentId>"
},
"name": "list_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to return, newest first, 1 to 50. Default 20. | |
| documentId | Yes | The document id. |