Read external file content

Read external file content. 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.

  • file_idstring · min length 1 · max length 1024required

    File ID from list_external_files

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__read_external_file_content",    "arguments": {      "provider": "onedrive",      "file_id": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"file\":{\"id\":\"string\",\"provider\":\"onedrive\",\"name\":\"string\",\"kind\":\"file\",\"parent_id\":\"string\",\"path\":\"string\",\"mime_type\":\"string\",\"size_bytes\":0,\"modified_at\":\"2026-01-01T00:00:00Z\",\"etag\":\"string\",\"thumbnail_url\":\"string\",\"web_url\":\"string\"},\"content\":\"string\",\"content_encoding\":\"utf8\"}"      }    ],    "structuredContent": {      "file": {        "id": "string",        "provider": "onedrive",        "name": "string",        "kind": "file",        "parent_id": "string",        "path": "string",        "mime_type": "string",        "size_bytes": 0,        "modified_at": "2026-01-01T00:00:00Z",        "etag": "string",        "thumbnail_url": "string",        "web_url": "string"      },      "content": "string",      "content_encoding": "utf8"    }  }}

The tool ran; its output is result.structuredContent.