# Get release file

Tool: `veryfront__get_release_file`

Return release file. Requires project.read.

## Arguments

| Name                       | Type                  | Required | Description                                                                                                                                                                            |
| -------------------------- | --------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference`        | string                |          | Project ID or slug                                                                                                                                                                     |
| `release_reference`        | string · min length 1 | Yes      | Release ID, `latest`, or a version specifier such as "1.2.3" or "1.2".                                                                                                                 |
| `file_reference`           | string · min length 1 | Yes      | Project-relative file path, for example pages/index.mdx, or file ID.                                                                                                                   |
| `include_server_functions` | boolean               |          | 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                |          | Response projection, for example (id,path,size). Accepted as on REST; the structured output keeps every required field.                                                                |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
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"
    }
  }
}'
```

## Example response

```json
{
  "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": {}
    }
  }
}
```
