> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List release files

> List release files.

`veryfront__list_release_files`

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`. |
| `pattern` | `string` | No | Provide the pattern. Maximum length: `1024`. |
| `cursor` | `string` | No | Opaque cursor pointing at the next page. Omit it to read the first page. |
| `limit` | `integer` | No | Maximum number of results to return. Default: `100`. Minimum: `1`. Maximum: `100`. |
| `sort_by` | `string` | No | Sort by path or last update time (default path). Default: `"path"`. Values: `"path"`, `"updated_at"`. |
| `sort_order` | `string` | No | Provide the sort order. Default: `"desc"`. Values: `"asc"`, `"desc"`. |
| `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](https://veryfront.com/docs/cloud/getting-started/connect-mcp.md).

```json title="request.json" theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_release_files",
    "arguments": {
      "release_reference": "example"
    }
  }
}
```

## 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 |
| - | - | - | - |
| `data` | `object[]` | Yes | Primary result records returned by the tool. |
| `page_info` | `object` | Yes | Pagination cursor values for traversing the result set. |
| `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 | The links returned by the tool. |

## Full schemas

```json title="input-schema.json" theme={null}
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "release_reference": {
      "type": "string",
      "minLength": 1,
      "description": "Release ID, `latest`, or a version specifier such as \"1.2.3\" or \"1.2\"."
    },
    "pattern": {
      "type": "string",
      "maxLength": 1024,
      "description": "Provide the pattern."
    },
    "cursor": {
      "type": "string",
      "description": "Opaque cursor pointing at the next page. Omit it to read the first page."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "Maximum number of results to return.",
      "default": 100
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "path",
        "updated_at"
      ],
      "description": "Sort by path or last update time (default path).",
      "default": "path"
    },
    "sort_order": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "description": "Provide the sort order.",
      "default": "desc"
    },
    "include_server_functions": {
      "type": "boolean",
      "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."
    },
    "fields": {
      "type": "string",
      "pattern": "^!?\\([^)]*\\)$",
      "description": "Response projection, for example (id,path,size). Accepted as on REST; the structured output keeps every required field."
    }
  },
  "required": [
    "release_reference"
  ],
  "additionalProperties": false,
  "description": "Arguments for the list_release_files tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

```json title="output-schema.json" theme={null}
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the returned record."
          },
          "version_id": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "content": {
            "type": "string",
            "description": "Source content or body returned by the tool."
          },
          "binary": {
            "type": "object",
            "properties": {
              "content_hash": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "byte_size": {
                "type": "integer",
                "minimum": 0,
                "maximum": 8388608
              },
              "content_type": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "pattern": "^[\\x20-\\x7e]+$"
              }
            },
            "required": [
              "content_hash",
              "byte_size",
              "content_type"
            ],
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "enum": [
              "page",
              "function",
              "component",
              "file"
            ]
          },
          "size": {
            "type": "number"
          },
          "updated_at": {
            "type": "string",
            "description": "Last update timestamp in ISO 8601 format."
          },
          "_links": {
            "type": "object",
            "additionalProperties": {
              "description": "Additional structured values associated with this result."
            }
          }
        },
        "required": [
          "id",
          "version_id",
          "path",
          "content",
          "type",
          "size",
          "updated_at"
        ],
        "additionalProperties": false
      },
      "description": "Primary result records returned by the tool."
    },
    "page_info": {
      "type": "object",
      "properties": {
        "self": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor that refers to the current page."
        },
        "first": {
          "type": "null"
        },
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the next page when pagination is available."
        },
        "prev": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the previous page when pagination is available."
        }
      },
      "required": [
        "self",
        "first",
        "next",
        "prev"
      ],
      "additionalProperties": false,
      "description": "Pagination cursor values for traversing the result set."
    },
    "release_id": {
      "type": "string",
      "description": "Release identifier associated with this result."
    },
    "release_version": {
      "type": [
        "string",
        "null"
      ],
      "description": "Release version string associated with this result."
    },
    "_links": {
      "$ref": "#/properties/data/items/properties/_links",
      "description": "The links returned by the tool."
    }
  },
  "required": [
    "data",
    "page_info",
    "release_id",
    "release_version"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the list_release_files tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

<details>
  <summary>Try this tool</summary>

  Replace sample arguments with values for your project or connected account. Calls run only when you select Run tool.

  MCP tool call

  Call `veryfront__list_release_files` against the Veryfront MCP endpoint.

  Bearer token or API key

  Arguments (JSON)

  Run tool

  Output JSON

  <pre />
</details>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.