veryfront__get_file_diff

Return file diff. Requires project.files.read.

Risk: read_only.

Arguments

NameTypeRequiredDescription
file_pathstringYesProject-relative source path, or the file ID.
refstringContent to read: main, branch:<name-or-id>, release:<version> or env:<name>. Omit for main.
source_refstringVersion ID to compare from. Required except on a branch, which compares against main.
context_linesintegerContext lines around a change, 0 to 10 (default 3).
project_referencestringProject ID or slug (defaults to the current project)

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__get_file_diff",    "arguments": {      "file_path": "<file_path>"    }  }}