get_file_revisions
Retrieve revision history of a file to track changes and restore previous versions.
Instructions
Get revision history of a file
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": {
"fileId": "<fileId>"
},
"name": "get_file_revisions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ID of the file to get revisions for | |
| maxResults | No | Maximum number of revisions to return |