Return a file. Requires project.files.read.
Arguments
project_referencestringProject ID or slug (defaults to the current project)
refstringContent selector: main, branch:<name-or-id>, release:<version>, or env:<name>. Omit for main.
branchstringBranch name or ID; alias for ref=branch:<value>.
branch_idstringLegacy branch name or ID alias. Conflicting selectors are rejected.
file_pathstringPath of the file. Send file_path or path, not two different values.
pathstringFile path (e.g., pages/index.mdx). Read files matched by search_knowledge before answering Knowledge Q&A questions.
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__get_file", "arguments": {} }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"binary\":{\"content_hash\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"byte_size\":0,\"content_type\":\"x\"},\"path\":\"string\",\"type\":\"string\",\"content\":\"string\",\"size\":0,\"version_id\":\"string\",\"checksum\":\"string\",\"id\":\"string\",\"size_bytes\":0,\"updated_at\":\"string\"}" } ], "structuredContent": { "binary": { "content_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "byte_size": 0, "content_type": "x" }, "path": "string", "type": "string", "content": "string", "size": 0, "version_id": "string", "checksum": "string", "id": "string", "size_bytes": 0, "updated_at": "string" } }}The tool ran; its output is result.structuredContent.