veryfront__list_filesAccess
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. |
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
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "veryfront__list_files",
"arguments": {}
}
}
Result
The published output shape is summarized below. Inspect both the MCP response content andisError 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
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "Project ID or slug"
},
"ref": {
"type": "string",
"description": "Content selector: main, branch:<name-or-id>, release:<version>, or env:<name>. Omit for main."
},
"branch": {
"type": "string",
"description": "Branch name or ID; alias for ref=branch:<value>."
},
"branch_id": {
"type": "string",
"description": "Legacy branch name or ID alias. Conflicting selectors are rejected."
},
"pattern": {
"type": "string",
"maxLength": 1024,
"description": "File pattern filter (e.g., *.tsx, pages/*)"
},
"cursor": {
"type": "string",
"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."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Max files to return (default: 100, max: 100)"
}
},
"additionalProperties": false,
"description": "Arguments for the list_files tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Canonical file path within the selected branch."
},
"type": {
"type": "string",
"description": "File kind: page, function, component, or file."
},
"size": {
"type": "number",
"description": "Size of the file content encoded as UTF-8, in bytes."
},
"updated_at": {
"type": "string",
"description": "Last content update timestamp in ISO 8601 format."
},
"checksum": {
"type": [
"string",
"null"
],
"description": "SHA-256 content hash, or null when unavailable."
}
},
"required": [
"path",
"type",
"size",
"updated_at",
"checksum"
],
"additionalProperties": false
},
"description": "Primary result records returned by the tool."
},
"page_info": {
"type": "object",
"properties": {
"self": {
"type": [
"string",
"null"
],
"description": "The supplied cursor, or null for the first request."
},
"first": {
"type": [
"string",
"null"
],
"description": "Always null; restart by omitting cursor."
},
"next": {
"type": [
"string",
"null"
],
"description": "Opaque continuation cursor, or null when no more authorized files remain."
},
"prev": {
"type": [
"string",
"null"
],
"description": "Always null; reverse pagination is unavailable."
}
},
"required": [
"self",
"first",
"next",
"prev"
],
"additionalProperties": false,
"description": "Pagination cursor values for traversing the result set."
}
},
"required": [
"data",
"page_info"
],
"additionalProperties": false,
"description": "Structured result returned by the list_files tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}