Return the files at the given paths. Requires project.files.read.
Arguments
refstringContent to read: main, branch:<name-or-id>, release:<version> or env:<name>. Omit for main.
pathsarray of string · min length 1 · max length 1024requiredExact file paths to read, at most 50. Results keep this order.
project_referencestringProject ID or slug (defaults to the current project)
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_files", "arguments": { "paths": [ "string" ] } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"data\":[{\"path\":\"string\",\"found\":false,\"file\":{\"id\":\"string\",\"version_id\":\"string\",\"path\":\"string\",\"type\":\"page\",\"content\":\"string\",\"size_bytes\":0,\"binary\":{\"content_hash\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"byte_size\":0,\"content_type\":\"x\"},\"checksum\":\"string\",\"updated_at\":\"string\"},\"error\":{\"code\":\"internal\",\"message\":\"string\"}}]}" } ], "structuredContent": { "data": [ { "path": "string", "found": false, "file": { "id": "string", "version_id": "string", "path": "string", "type": "page", "content": "string", "size_bytes": 0, "binary": { "content_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "byte_size": 0, "content_type": "x" }, "checksum": "string", "updated_at": "string" }, "error": { "code": "internal", "message": "string" } } ] } }}The tool ran; its output is result.structuredContent.