uvcs_file_history
List file or directory revisions newest first, including changeset, branch, date, owner, and comment, to inspect version history without modifying the workspace.
Instructions
List the revisions of a file or directory, newest first, with changeset, branch, date, owner, and comment. Dates use the cm client locale format (cm history has no date format option). 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": {
"filePath": "<filePath>"
},
"name": "uvcs_file_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path relative to UVCS_WORKSPACE. | |
| maxResults | No | Maximum revisions to return, from 1 to 500. Default: 50. |