veryfront__get_file_version

Return file version. Requires project.files.read.

Risk: read_only.

Arguments

NameTypeRequiredDescription
file_pathstringYesProject-relative source path, or the file ID.
version_idstringYesVersion UUID, or an index from 0 to 99 where 0 is the newest version.
refstringmain or branch:<name-or-id>. Omit for main. Releases and environments have no version history.
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_version",    "arguments": {      "file_path": "<file_path>",      "version_id": "<version_id>"    }  }}