# veryfront__list_file_versions

List file versions. Requires project.files.read.

Risk: read\_only.

## Arguments

| Name                | Type    | Required | Description                                                                                    |
| ------------------- | ------- | -------- | ---------------------------------------------------------------------------------------------- |
| `file_path`         | string  | Yes      | Project-relative source path, or the file ID.                                                  |
| `ref`               | string  |          | main or branch:<name-or-id>. Omit for main. Releases and environments have no version history. |
| `cursor`            | string  |          | Opaque page\_info.next from the previous page.                                                 |
| `limit`             | integer |          | Versions per page, 1 to 100 (default 20).                                                      |
| `project_reference` | string  |          | Project ID or slug (defaults to the current project)                                           |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_file_versions",
    "arguments": {
      "file_path": "<file_path>"
    }
  }
}
```
