listRevisions
Lists all saved revisions of a Google Drive file, returning each revision's ID, modifier, timestamp, and retention status so you can review file history.
Instructions
Lists all saved versions (revision history) of a Drive file such as a Google Doc, Sheet, or Slide. Returns each revision's ID, modifier, timestamp, and whether it is kept forever.
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": "listRevisions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The ID of the Drive file to list revisions for. |