List a file's earlier versions
tarkle_list_versionsThe earlier versions of one file, newest first (Pro): versionId, number, name, sizeBytes, savedAt, replacedAt, keptUntil (after that it is gone), and restorable (false for a version someone deleted, which stays listed until it expires). current is the file as it is now. A Free workspace is refused. Anyone who can see the file can list its versions.
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": {
"workspaceId": "<workspaceId>",
"fileId": "<fileId>"
},
"name": "tarkle_list_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The file's fileId, from tarkle_list_files or tarkle_list_bin. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| workspaceId | Yes | The workspace's id from tarkle_list_workspaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | ||
| current | No | ||
| versions | No | ||
| retentionDays | No |