# veryfront__get_file

Return a file. Requires project.files.read.

Risk: read\_only.

## Arguments

| Name                | Type   | Required | Description                                                                                                           |
| ------------------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------- |
| `project_reference` | string |          | Project ID or slug (defaults to the current project)                                                                  |
| `ref`               | string |          | Content selector: main, branch:<name-or-id>, release:<version>, or env:<name>. Omit for main.                         |
| `branch`            | string |          | Branch name or ID; alias for ref=branch:<value>.                                                                      |
| `branch_id`         | string |          | Legacy branch name or ID alias. Conflicting selectors are rejected.                                                   |
| `file_path`         | string |          | Path of the file. Send file\_path or path, not two different values.                                                  |
| `path`              | string |          | File path (e.g., pages/index.mdx). Read files matched by search\_knowledge before answering Knowledge Q\&A questions. |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__get_file",
    "arguments": {}
  }
}
```
