uvcs_diff_file
Shows a unified line diff for one pending file, comparing the workspace revision against the on-disk version. Use it to inspect uncommitted changes before check-in.
Instructions
Return a unified line diff of one pending file: the revision loaded in the workspace against the file on disk. Output longer than 200000 characters is truncated. 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_diff_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Unchanged lines around each change, from 0 to 20. Default: 3. | |
| filePath | Yes | Path relative to UVCS_WORKSPACE of a file with a pending change. |