veryfront__list_files
Requires project.files.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 |
ref | string | No | Content selector: main, branch:<name-or-id>, release:<version>, or env:<name>. Omit for main. |
branch | string | No | Branch name or ID; alias for ref=branch:<value>. |
branch_id | string | No | Legacy branch name or ID alias. Conflicting selectors are rejected. |
pattern | string | No | File pattern filter (e.g., .tsx, pages/) Maximum length: 1024. |
cursor | string | No | 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. |
limit | integer | No | Max files to return (default: 100, max: 100) Minimum: 1. Maximum: 100. |
sort_by | string | No | Sort by path or last update time (default updated_at). Default: "updated_at". Values: "path", "updated_at". |
sort_order | string | No | Sort direction (default desc). Tied update times break by path ascending. Default: "desc". Values: "asc", "desc". |
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.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__list_files",7 "arguments": {}8 }9}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. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug"7 },8 "ref": {9 "type": "string",10 "description": "Content selector: main, branch:<name-or-id>, release:<version>, or env:<name>. Omit for main."11 },12 "branch": {13 "type": "string",14 "description": "Branch name or ID; alias for ref=branch:<value>."15 },16 "branch_id": {17 "type": "string",18 "description": "Legacy branch name or ID alias. Conflicting selectors are rejected."19 },20 "pattern": {21 "type": "string",22 "maxLength": 1024,23 "description": "File pattern filter (e.g., *.tsx, pages/*)"24 },25 "cursor": {26 "type": "string",27 "description": "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."28 },29 "limit": {30 "type": "integer",31 "minimum": 1,32 "maximum": 100,33 "description": "Max files to return (default: 100, max: 100)"34 },35 "sort_by": {36 "type": "string",37 "enum": [38 "path",39 "updated_at"40 ],41 "description": "Sort by path or last update time (default updated_at).",42 "default": "updated_at"43 },44 "sort_order": {45 "type": "string",46 "enum": [47 "asc",48 "desc"49 ],50 "description": "Sort direction (default desc). Tied update times break by path ascending.",51 "default": "desc"52 }53 },54 "additionalProperties": false,55 "description": "Arguments for the list_files tool.",56 "$schema": "http://json-schema.org/draft-07/schema#"57}output-schema.json
1{2 "type": "object",3 "properties": {4 "data": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "binary": {10 "type": "object",11 "properties": {12 "content_hash": {13 "type": "string",14 "pattern": "^[a-f0-9]{64}$"15 },16 "byte_size": {17 "type": "integer",18 "minimum": 0,19 "maximum": 838860820 },21 "content_type": {22 "type": "string",23 "minLength": 1,24 "maxLength": 200,25 "pattern": "^[\\x20-\\x7e]+$"26 }27 },28 "required": [29 "content_hash",30 "byte_size",31 "content_type"32 ],33 "additionalProperties": false34 },35 "id": {36 "type": "string",37 "description": "File ID when supplied by the file store."38 },39 "version_id": {40 "type": "string",41 "description": "Current version ID when supplied by the file store."42 },43 "path": {44 "type": "string",45 "description": "Canonical file path within the selected branch."46 },47 "type": {48 "type": "string",49 "description": "File kind: page, function, component, or file."50 },51 "size": {52 "type": "number",53 "description": "Size of the file content encoded as UTF-8, in bytes."54 },55 "size_bytes": {56 "type": "number",57 "description": "Size of the file content encoded as UTF-8, in bytes. Same value as size."58 },59 "updated_at": {60 "type": "string",61 "description": "Last content update timestamp in ISO 8601 format."62 },63 "checksum": {64 "type": [65 "string",66 "null"67 ],68 "description": "SHA-256 content hash, or null when unavailable."69 }70 },71 "required": [72 "path",73 "type",74 "size",75 "size_bytes",76 "updated_at",77 "checksum"78 ],79 "additionalProperties": false80 },81 "description": "Primary result records returned by the tool."82 },83 "page_info": {84 "type": "object",85 "properties": {86 "self": {87 "type": [88 "string",89 "null"90 ],91 "description": "The supplied cursor, or null for the first request."92 },93 "first": {94 "type": [95 "string",96 "null"97 ],98 "description": "Always null; restart by omitting cursor."99 },100 "next": {101 "type": [102 "string",103 "null"104 ],105 "description": "Opaque continuation cursor, or null when no more authorized files remain."106 },107 "prev": {108 "type": [109 "string",110 "null"111 ],112 "description": "Always null; reverse pagination is unavailable."113 }114 },115 "required": [116 "self",117 "first",118 "next",119 "prev"120 ],121 "additionalProperties": false,122 "description": "Pagination cursor values for traversing the result set."123 }124 },125 "required": [126 "data",127 "page_info"128 ],129 "additionalProperties": false,130 "description": "Structured result returned by the list_files tool.",131 "$schema": "http://json-schema.org/draft-07/schema#"132}