list_versions
Retrieve version history for a OneDrive or SharePoint file; set an optional limit for a quick check or omit it to page through the full history.
Instructions
List version history for a OneDrive or SharePoint file. Without limit this pages through the full history; set limit for a quick look.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| site | No | ||
| drive | No | ||
| limit | No | Maximum versions to fetch. Omit to read the full history. has_more reports whether older versions remain. | |
| item_id | No |