hedgedoc_list_revisions
Retrieve all revisions of a HedgeDoc note with their timestamps and character lengths. Use a revision ID to access and restore specific historical versions.
Instructions
List all available revisions of a HedgeDoc note.
Each revision entry has an id (Unix timestamp) and a length (chars). The revision-id can be used with hedgedoc_get_revision to retrieve the full content of a specific revision.
note_id: The note ID or alias (the slug from the URL) Returns a JSON array of revisions.
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": {
"note_id": "<note_id>"
},
"name": "hedgedoc_list_revisions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |