List files

List the files. Requires project.files.read.

Arguments

  • project_referencestring

    Project ID or slug

  • refstring

    Content selector: main, branch:<name-or-id>, release:<version>, or env:<name>. Omit for main.

  • branchstring

    Branch name or ID; alias for ref=branch:<value>.

  • branch_idstring

    Legacy branch name or ID alias. Conflicting selectors are rejected.

  • patternstring · max length 1024

    File pattern filter (e.g., *.tsx, pages/*)

  • cursorstring

    Opaque page_info.next cursor from the preceding page. Returns a validation error if its file was deleted, renamed, or excluded from the current results.

  • limitinteger · min 1 · max 100

    Max files to return (default: 100, max: 100)

  • sort_bystring · default updated_at

    Sort by path or last update time (default updated_at). One of path, updated_at.

  • sort_orderstring · default desc

    Sort direction (default desc). Tied update times break by path ascending. One of asc, desc.

Responses

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__list_files",    "arguments": {}  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"data\":[{\"binary\":{\"content_hash\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"byte_size\":0,\"content_type\":\"x\"},\"id\":\"string\",\"version_id\":\"string\",\"path\":\"string\",\"type\":\"string\",\"size\":0,\"size_bytes\":0,\"updated_at\":\"string\",\"checksum\":\"string\"}],\"page_info\":{\"self\":\"string\",\"first\":\"string\",\"next\":\"string\",\"prev\":\"string\"}}"      }    ],    "structuredContent": {      "data": [        {          "binary": {            "content_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",            "byte_size": 0,            "content_type": "x"          },          "id": "string",          "version_id": "string",          "path": "string",          "type": "string",          "size": 0,          "size_bytes": 0,          "updated_at": "string",          "checksum": "string"        }      ],      "page_info": {        "self": "string",        "first": "string",        "next": "string",        "prev": "string"      }    }  }}

The tool ran; its output is result.structuredContent.