list_document_versions
List a workspace document's version history, newest first. Each entry: versionNumber, fileName, mimeType, size, createdAt, createdBy. Also returns the approval record: status (the approval status a workflow set, with the version it covers) and approvals (who approved or rejected which version, and when). The approval record is part of the document approval workflows plan feature; on a plan without it the two fields are absent. Read-only.
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": {
"documentId": "<documentId>"
},
"name": "list_document_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | WorkspaceDocument id. |