List external files

List external files. Requires project.integrations.read.

Arguments

  • project_referencestring

    Project ID or slug. Requires project.integrations.read through the caller's own personal provider connection.

  • providerstringrequired

    Storage provider accessed through the caller's own personal connection. A shared project connection is not used. One of onedrive, sharepoint, drive.

  • folder_idstring · min length 1 · max length 1024

    Folder ID from a previous listing, or "root". Omit for the provider root. SharePoint sites are "sp-site:{siteId}".

  • pathstring

    Older folder path selector; use folder_id. Not together with folder_id.

  • querystring · min length 1 · max length 256

    Search text. Searches below folder_id when given; SharePoint needs a site or folder to search.

  • cursorstring

    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.

  • limitinteger · min 1 · max 200

    Maximum number of entries to request (max 200)

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_external_files",    "arguments": {      "provider": "onedrive"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"message\":\"string\",\"data\":[{\"id\":\"string\",\"name\":\"string\",\"path\":\"string\",\"mime_type\":\"string\",\"size\":0,\"size_bytes\":0,\"is_folder\":false,\"kind\":\"file\",\"modified_at\":\"2026-01-01T00:00:00Z\",\"thumbnail\":\"string\",\"provider\":\"onedrive\",\"parent_id\":\"string\",\"etag\":\"string\",\"thumbnail_url\":\"string\",\"web_url\":\"string\"}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":null}}"      }    ],    "structuredContent": {      "message": "string",      "data": [        {          "id": "string",          "name": "string",          "path": "string",          "mime_type": "string",          "size": 0,          "size_bytes": 0,          "is_folder": false,          "kind": "file",          "modified_at": "2026-01-01T00:00:00Z",          "thumbnail": "string",          "provider": "onedrive",          "parent_id": "string",          "etag": "string",          "thumbnail_url": "string",          "web_url": "string"        }      ],      "page_info": {        "self": "string",        "first": null,        "next": "string",        "prev": null      }    }  }}

The tool ran; its output is result.structuredContent.