veryfront__get_release_file
Requires project.read.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug |
release_reference | string | Yes | Release ID, latest, or a version specifier such as "1.2.3" or "1.2". Minimum length: 1. |
file_reference | string | Yes | Project-relative file path, for example pages/index.mdx, or file ID. Minimum length: 1. |
include_server_functions | boolean | No | 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. |
fields | string | No | Response projection, for example (id,path,size). Accepted as on REST; the structured output keeps every required field. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__get_release_file",7 "arguments": {8 "release_reference": "example",9 "file_reference": "example"10 }11 }12}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
id | string | Yes | Unique identifier for the returned record. |
version_id | string | Yes | |
path | string | Yes | |
content | string | Yes | Source content or body returned by the tool. |
binary | object | No | |
size | number | Yes | |
type | string | Yes | Values: "page", "function", "component", "file". |
updated_at | string | Yes | Last update timestamp in ISO 8601 format. |
release_id | string | Yes | Release identifier associated with this result. |
release_version | string or null | Yes | Release version string associated with this result. |
_links | object | No |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug"7 },8 "release_reference": {9 "type": "string",10 "minLength": 1,11 "description": "Release ID, `latest`, or a version specifier such as \"1.2.3\" or \"1.2\"."12 },13 "file_reference": {14 "type": "string",15 "minLength": 1,16 "description": "Project-relative file path, for example pages/index.mdx, or file ID."17 },18 "include_server_functions": {19 "type": "boolean",20 "description": "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."21 },22 "fields": {23 "type": "string",24 "pattern": "^!?\\([^)]*\\)$",25 "description": "Response projection, for example (id,path,size). Accepted as on REST; the structured output keeps every required field."26 }27 },28 "required": [29 "release_reference",30 "file_reference"31 ],32 "additionalProperties": false,33 "description": "Arguments for the get_release_file tool.",34 "$schema": "http://json-schema.org/draft-07/schema#"35}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "description": "Unique identifier for the returned record."7 },8 "version_id": {9 "type": "string"10 },11 "path": {12 "type": "string"13 },14 "content": {15 "type": "string",16 "description": "Source content or body returned by the tool."17 },18 "binary": {19 "type": "object",20 "properties": {21 "content_hash": {22 "type": "string",23 "pattern": "^[a-f0-9]{64}$"24 },25 "byte_size": {26 "type": "integer",27 "minimum": 0,28 "maximum": 838860829 },30 "content_type": {31 "type": "string",32 "minLength": 1,33 "maxLength": 200,34 "pattern": "^[\\x20-\\x7e]+$"35 }36 },37 "required": [38 "content_hash",39 "byte_size",40 "content_type"41 ],42 "additionalProperties": false43 },44 "size": {45 "type": "number"46 },47 "type": {48 "type": "string",49 "enum": [50 "page",51 "function",52 "component",53 "file"54 ]55 },56 "updated_at": {57 "type": "string",58 "description": "Last update timestamp in ISO 8601 format."59 },60 "release_id": {61 "type": "string",62 "description": "Release identifier associated with this result."63 },64 "release_version": {65 "type": [66 "string",67 "null"68 ],69 "description": "Release version string associated with this result."70 },71 "_links": {72 "type": "object",73 "additionalProperties": {74 "description": "Additional structured values associated with this result."75 }76 }77 },78 "required": [79 "id",80 "version_id",81 "path",82 "content",83 "size",84 "type",85 "updated_at",86 "release_id",87 "release_version"88 ],89 "additionalProperties": false,90 "description": "Structured result returned by the get_release_file tool.",91 "$schema": "http://json-schema.org/draft-07/schema#"92}