Get release file

Return release file. Requires project.read.

Arguments

  • project_referencestring

    Project ID or slug

  • release_referencestring · min length 1required

    Release ID, latest, or a version specifier such as "1.2.3" or "1.2".

  • file_referencestring · min length 1required

    Project-relative file path, for example pages/index.mdx, or file ID.

  • include_server_functionsboolean

    Set to false to read server-function source only as an editor. Omit to use the rule every MCP file read uses, which lets a project-scoped service token with file read access read it.

  • fieldsstring

    Response projection, for example (id,path,size). Accepted as on REST; the structured output keeps every required field.

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_release_file",    "arguments": {      "release_reference": "string",      "file_reference": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"string\",\"version_id\":\"string\",\"path\":\"string\",\"content\":\"string\",\"binary\":{\"content_hash\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"byte_size\":0,\"content_type\":\"x\"},\"size\":0,\"type\":\"page\",\"updated_at\":\"string\",\"release_id\":\"string\",\"release_version\":\"string\",\"_links\":{}}"      }    ],    "structuredContent": {      "id": "string",      "version_id": "string",      "path": "string",      "content": "string",      "binary": {        "content_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",        "byte_size": 0,        "content_type": "x"      },      "size": 0,      "type": "page",      "updated_at": "string",      "release_id": "string",      "release_version": "string",      "_links": {}    }  }}

The tool ran; its output is result.structuredContent.