List diagram versions
list_versionsRetrieve a diagram's version history in ascending order, identifying the current live version. Supports pagination with cursor and limit parameters.
Instructions
List a diagram's version history (ascending; is_current marks the live one). Use with revert_diagram / get_version.
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": {
"diagram_id": "<diagram_id>"
},
"name": "list_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size (default 20) | |
| cursor | No | next_cursor from a previous call | |
| diagram_id | Yes | The diagram id |