veryfront__get_external_file
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 |
|---|---|---|---|
provider | string | Yes | Storage provider accessed through the caller's own personal connection. A human caller is required; agent, run, and service-account credentials are refused. Values: "onedrive", "sharepoint", "drive". |
file_id | string | Yes | File ID from list_external_files. Minimum length: 1. Maximum length: 1024. |
project_reference | string | No | Project ID or slug. Requires project.integrations.read through the caller's own personal provider connection. Minimum length: 1. |
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__get_external_file",7 "arguments": {8 "provider": "onedrive",9 "file_id": "example"10 }11 }12}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 |
|---|---|---|---|
id | string | Yes | Unique identifier for the returned record. Minimum length: 1. Maximum length: 1024. |
name | string | Yes | Human-readable name for the returned record. |
path | string | Yes | The path returned by the tool. |
mime_type | string | Yes | The mime type returned by the tool. Minimum length: 1. |
size | integer | Yes | The size returned by the tool. Minimum: 0. Maximum: 9007199254740991. |
size_bytes | integer | Yes | The size bytes returned by the tool. Minimum: 0. Maximum: 9007199254740991. |
is_folder | boolean | Yes | The is folder returned by the tool. |
kind | string | Yes | The kind returned by the tool. Values: "file", "folder". |
modified_at | string or null | Yes | The modified at returned by the tool. |
thumbnail | string | No | The thumbnail returned by the tool. |
provider | string | Yes | The provider returned by the tool. Values: "onedrive", "sharepoint", "drive". |
parent_id | string or null | Yes | The parent id returned by the tool. |
etag | string or null | Yes | The etag returned by the tool. |
thumbnail_url | string or null | Yes | The thumbnail url returned by the tool. |
web_url | string or null | Yes | The web url returned by the tool. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "provider": {5 "type": "string",6 "enum": [7 "onedrive",8 "sharepoint",9 "drive"10 ],11 "description": "Storage provider accessed through the caller's own personal connection. A human caller is required; agent, run, and service-account credentials are refused."12 },13 "file_id": {14 "type": "string",15 "minLength": 1,16 "maxLength": 1024,17 "description": "File ID from list_external_files."18 },19 "project_reference": {20 "type": "string",21 "minLength": 1,22 "description": "Project ID or slug. Requires project.integrations.read through the caller's own personal provider connection."23 }24 },25 "required": [26 "provider",27 "file_id"28 ],29 "additionalProperties": false,30 "$schema": "http://json-schema.org/draft-07/schema#",31 "description": "Arguments for the get_external_file tool."32}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "minLength": 1,7 "maxLength": 1024,8 "description": "Unique identifier for the returned record."9 },10 "name": {11 "type": "string",12 "description": "Human-readable name for the returned record."13 },14 "path": {15 "type": "string",16 "description": "The path returned by the tool."17 },18 "mime_type": {19 "type": "string",20 "minLength": 1,21 "description": "The mime type returned by the tool."22 },23 "size": {24 "type": "integer",25 "minimum": 0,26 "maximum": 9007199254740991,27 "description": "The size returned by the tool."28 },29 "size_bytes": {30 "type": "integer",31 "minimum": 0,32 "maximum": 9007199254740991,33 "description": "The size bytes returned by the tool."34 },35 "is_folder": {36 "type": "boolean",37 "description": "The is folder returned by the tool."38 },39 "kind": {40 "type": "string",41 "enum": [42 "file",43 "folder"44 ],45 "description": "The kind returned by the tool."46 },47 "modified_at": {48 "anyOf": [49 {50 "type": "string",51 "format": "date-time",52 "description": "The modified at returned by the tool."53 },54 {55 "type": "null",56 "description": "The modified at returned by the tool."57 }58 ],59 "description": "The modified at returned by the tool."60 },61 "thumbnail": {62 "type": "string",63 "description": "The thumbnail returned by the tool."64 },65 "provider": {66 "type": "string",67 "enum": [68 "onedrive",69 "sharepoint",70 "drive"71 ],72 "description": "The provider returned by the tool."73 },74 "parent_id": {75 "anyOf": [76 {77 "$ref": "#/properties/id",78 "description": "The parent id returned by the tool."79 },80 {81 "type": "null",82 "description": "The parent id returned by the tool."83 }84 ],85 "description": "The parent id returned by the tool."86 },87 "etag": {88 "anyOf": [89 {90 "type": "string",91 "minLength": 1,92 "maxLength": 1024,93 "pattern": "^(?:\\*|(?:W\\/)?\"[\\x21\\x23-\\x7e]*\"(?:[ \\t]*,[ \\t]*(?:W\\/)?\"[\\x21\\x23-\\x7e]*\")*|[!#$%&'*+.^_`|~0-9A-Za-z-]+)$",94 "description": "The etag returned by the tool."95 },96 {97 "type": "null",98 "description": "The etag returned by the tool."99 }100 ],101 "description": "The etag returned by the tool."102 },103 "thumbnail_url": {104 "anyOf": [105 {106 "$ref": "#/properties/thumbnail",107 "description": "The thumbnail url returned by the tool."108 },109 {110 "type": "null",111 "description": "The thumbnail url returned by the tool."112 }113 ],114 "description": "The thumbnail url returned by the tool."115 },116 "web_url": {117 "anyOf": [118 {119 "$ref": "#/properties/thumbnail",120 "description": "The web url returned by the tool."121 },122 {123 "type": "null",124 "description": "The web url returned by the tool."125 }126 ],127 "description": "The web url returned by the tool."128 }129 },130 "required": [131 "id",132 "name",133 "path",134 "mime_type",135 "size",136 "size_bytes",137 "is_folder",138 "kind",139 "modified_at",140 "provider",141 "parent_id",142 "etag",143 "thumbnail_url",144 "web_url"145 ],146 "additionalProperties": false,147 "$schema": "http://json-schema.org/draft-07/schema#",148 "description": "Structured result returned by the get_external_file tool."149}