veryfront__list_external_files
Requires project.integrations.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. Requires project.integrations.read through the caller's own personal provider connection. |
provider | string | Yes | Storage provider accessed through the caller's own personal connection. A shared project connection is not used. Values: "onedrive", "sharepoint", "drive". |
folder_id | string | No | Folder ID from a previous listing, or "root". Omit for the provider root. SharePoint sites are "sp-site:{siteId}". Minimum length: 1. Maximum length: 1024. |
path | string | No | Older folder path selector; use folder_id. Not together with folder_id. |
query | string | No | Search text. Searches below folder_id when given; SharePoint needs a site or folder to search. Minimum length: 1. Maximum length: 256. |
cursor | string | No | page_info.next (or the "Pass cursor" value) from the previous page. Opaque cursors retain the original folder/path and query when omitted; explicit selectors must match the original listing. |
limit | integer | No | Maximum number of entries to request (max 200) Minimum: 1. Maximum: 200. |
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_external_files",7 "arguments": {8 "provider": "onedrive"9 }10 }11}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 |
|---|---|---|---|
message | string | Yes | Contains the formatted file records as text. If another page exists, the final line includes Pass cursor: "<value>". Copy that quoted value into the next request cursor; no continuation line means there is no next page. |
data | object[] | Yes | The items on this page, in provider order. |
page_info | object | Yes | Pagination: pass page_info.next as cursor for the next page. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug. Requires project.integrations.read through the caller's own personal provider connection."7 },8 "provider": {9 "type": "string",10 "enum": [11 "onedrive",12 "sharepoint",13 "drive"14 ],15 "description": "Storage provider accessed through the caller's own personal connection. A shared project connection is not used."16 },17 "folder_id": {18 "type": "string",19 "minLength": 1,20 "maxLength": 1024,21 "description": "Folder ID from a previous listing, or \"root\". Omit for the provider root. SharePoint sites are \"sp-site:{siteId}\"."22 },23 "path": {24 "type": "string",25 "description": "Older folder path selector; use folder_id. Not together with folder_id."26 },27 "query": {28 "type": "string",29 "minLength": 1,30 "maxLength": 256,31 "description": "Search text. Searches below folder_id when given; SharePoint needs a site or folder to search."32 },33 "cursor": {34 "type": "string",35 "description": "page_info.next (or the \"Pass cursor\" value) from the previous page. Opaque cursors retain the original folder/path and query when omitted; explicit selectors must match the original listing."36 },37 "limit": {38 "type": "integer",39 "minimum": 1,40 "maximum": 200,41 "description": "Maximum number of entries to request (max 200)"42 }43 },44 "required": [45 "provider"46 ],47 "additionalProperties": false,48 "description": "Arguments for the list_external_files tool.",49 "$schema": "http://json-schema.org/draft-07/schema#"50}output-schema.json
1{2 "type": "object",3 "properties": {4 "message": {5 "type": "string",6 "description": "Contains the formatted file records as text. If another page exists, the final line includes Pass cursor: \"<value>\". Copy that quoted value into the next request cursor; no continuation line means there is no next page."7 },8 "data": {9 "type": "array",10 "items": {11 "type": "object",12 "properties": {13 "id": {14 "type": "string",15 "minLength": 1,16 "maxLength": 1024,17 "description": "Unique identifier for the returned record."18 },19 "name": {20 "type": "string",21 "description": "Human-readable name for the returned record."22 },23 "path": {24 "type": "string"25 },26 "mime_type": {27 "type": "string",28 "minLength": 129 },30 "size": {31 "type": "integer",32 "minimum": 0,33 "maximum": 900719925474099134 },35 "size_bytes": {36 "type": "integer",37 "minimum": 0,38 "maximum": 900719925474099139 },40 "is_folder": {41 "type": "boolean"42 },43 "kind": {44 "type": "string",45 "enum": [46 "file",47 "folder"48 ]49 },50 "modified_at": {51 "anyOf": [52 {53 "type": "string",54 "format": "date-time"55 },56 {57 "type": "null",58 "description": "The modified at returned by the tool."59 }60 ]61 },62 "thumbnail": {63 "type": "string"64 },65 "provider": {66 "type": "string",67 "enum": [68 "onedrive",69 "sharepoint",70 "drive"71 ]72 },73 "parent_id": {74 "anyOf": [75 {76 "$ref": "#/properties/data/items/properties/id"77 },78 {79 "type": "null",80 "description": "The parent id returned by the tool."81 }82 ]83 },84 "etag": {85 "anyOf": [86 {87 "type": "string",88 "minLength": 1,89 "maxLength": 1024,90 "pattern": "^(?:\\*|(?:W\\/)?\"[\\x21\\x23-\\x7e]*\"(?:[ \\t]*,[ \\t]*(?:W\\/)?\"[\\x21\\x23-\\x7e]*\")*|[!#$%&'*+.^_`|~0-9A-Za-z-]+)$"91 },92 {93 "type": "null",94 "description": "The etag returned by the tool."95 }96 ]97 },98 "thumbnail_url": {99 "anyOf": [100 {101 "$ref": "#/properties/data/items/properties/thumbnail",102 "description": "The thumbnail url returned by the tool."103 },104 {105 "type": "null",106 "description": "The thumbnail url returned by the tool."107 }108 ]109 },110 "web_url": {111 "anyOf": [112 {113 "$ref": "#/properties/data/items/properties/thumbnail",114 "description": "The web url returned by the tool."115 },116 {117 "type": "null",118 "description": "The web url returned by the tool."119 }120 ]121 }122 },123 "required": [124 "id",125 "name",126 "path",127 "mime_type",128 "size",129 "size_bytes",130 "is_folder",131 "kind",132 "modified_at",133 "provider",134 "parent_id",135 "etag",136 "thumbnail_url",137 "web_url"138 ],139 "additionalProperties": false140 },141 "description": "The items on this page, in provider order."142 },143 "page_info": {144 "type": "object",145 "properties": {146 "self": {147 "anyOf": [148 {149 "type": "string",150 "description": "Cursor that refers to the current page."151 },152 {153 "type": "null",154 "description": "Cursor that refers to the current page."155 }156 ],157 "description": "Cursor that refers to the current page."158 },159 "first": {160 "type": "null"161 },162 "next": {163 "anyOf": [164 {165 "$ref": "#/properties/page_info/properties/self/anyOf/0",166 "description": "Cursor for the next page when pagination is available."167 },168 {169 "type": "null",170 "description": "Cursor for the next page when pagination is available."171 }172 ],173 "description": "Cursor for the next page when pagination is available."174 },175 "prev": {176 "type": "null",177 "description": "Cursor for the previous page when pagination is available."178 }179 },180 "required": [181 "self",182 "first",183 "next",184 "prev"185 ],186 "additionalProperties": false,187 "description": "Pagination: pass page_info.next as cursor for the next page."188 }189 },190 "required": [191 "message",192 "data",193 "page_info"194 ],195 "additionalProperties": false,196 "description": "Structured result returned by the list_external_files tool.",197 "$schema": "http://json-schema.org/draft-07/schema#"198}