Move external file

veryfront__move_external_file

Requires project.integrations.connect.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
project_referencestringNoProject ID or slug. Requires project.integrations.connect through the caller's own personal provider connection.
providerstringYesStorage provider accessed through the caller's own personal connection. A shared project connection is not used. Values: "onedrive", "sharepoint", "drive".
file_idstringYesFile ID to move Minimum length: 1. Maximum length: 1024.
folder_idstringNoDestination folder. Provider name conflicts return conflict; Google Drive allows duplicate names. SharePoint moves remain within the same site. Use the destination folder ID or "root". Required unless new_parent_id is supplied.
namestringNoNew name, 1-255 characters without / or control characters (omit to keep the current name) Minimum length: 1. Maximum length: 255.
new_parent_idstringNoOlder name for folder_id: target folder ID Maximum length: 1024.
new_namestringNoLegacy new name. Empty keeps the current name; control characters are not allowed.

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__move_external_file",    "arguments": {      "provider": "onedrive",      "file_id": "example"    }  }}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
messagestringYesAgent-readable status message or rendered content for the external storage operation.
fileobjectYesThe moved item.

Full schemas

input-schema.json
{  "type": "object",  "properties": {    "project_reference": {      "type": "string",      "description": "Project ID or slug. Requires project.integrations.connect through the caller's own personal provider connection."    },    "provider": {      "type": "string",      "enum": [        "onedrive",        "sharepoint",        "drive"      ],      "description": "Storage provider accessed through the caller's own personal connection. A shared project connection is not used."    },    "file_id": {      "type": "string",      "minLength": 1,      "maxLength": 1024,      "description": "File ID to move"    },    "folder_id": {      "$ref": "#/properties/file_id",      "description": "Destination folder. Provider name conflicts return conflict; Google Drive allows duplicate names. SharePoint moves remain within the same site. Use the destination folder ID or \"root\". Required unless new_parent_id is supplied."    },    "name": {      "type": "string",      "minLength": 1,      "maxLength": 255,      "pattern": "^[^/]*$",      "description": "New name, 1-255 characters without / or control characters (omit to keep the current name)"    },    "new_parent_id": {      "type": "string",      "maxLength": 1024,      "description": "Older name for folder_id: target folder ID"    },    "new_name": {      "type": "string",      "description": "Legacy new name. Empty keeps the current name; control characters are not allowed."    }  },  "required": [    "provider",    "file_id"  ],  "additionalProperties": false,  "description": "Arguments for the move_external_file tool.",  "$schema": "http://json-schema.org/draft-07/schema#"}
output-schema.json
{  "type": "object",  "properties": {    "message": {      "type": "string",      "description": "Agent-readable status message or rendered content for the external storage operation."    },    "file": {      "type": "object",      "properties": {        "id": {          "type": "string",          "minLength": 1,          "maxLength": 1024,          "description": "Unique identifier for the returned record."        },        "name": {          "type": "string",          "description": "Human-readable name for the returned record."        },        "path": {          "type": "string"        },        "mime_type": {          "type": "string",          "minLength": 1        },        "size": {          "type": "integer",          "minimum": 0,          "maximum": 9007199254740991        },        "size_bytes": {          "type": "integer",          "minimum": 0,          "maximum": 9007199254740991        },        "is_folder": {          "type": "boolean"        },        "kind": {          "type": "string",          "enum": [            "file",            "folder"          ]        },        "modified_at": {          "anyOf": [            {              "type": "string",              "format": "date-time"            },            {              "type": "null",              "description": "The modified at returned by the tool."            }          ]        },        "thumbnail": {          "type": "string"        },        "provider": {          "type": "string",          "enum": [            "onedrive",            "sharepoint",            "drive"          ]        },        "parent_id": {          "anyOf": [            {              "$ref": "#/properties/file/properties/id"            },            {              "type": "null",              "description": "The parent id returned by the tool."            }          ]        },        "etag": {          "anyOf": [            {              "type": "string",              "minLength": 1,              "maxLength": 1024,              "pattern": "^(?:\\*|(?:W\\/)?\"[\\x21\\x23-\\x7e]*\"(?:[ \\t]*,[ \\t]*(?:W\\/)?\"[\\x21\\x23-\\x7e]*\")*|[!#$%&'*+.^_`|~0-9A-Za-z-]+)$"            },            {              "type": "null",              "description": "The etag returned by the tool."            }          ]        },        "thumbnail_url": {          "anyOf": [            {              "$ref": "#/properties/file/properties/thumbnail",              "description": "The thumbnail url returned by the tool."            },            {              "type": "null",              "description": "The thumbnail url returned by the tool."            }          ]        },        "web_url": {          "anyOf": [            {              "$ref": "#/properties/file/properties/thumbnail",              "description": "The web url returned by the tool."            },            {              "type": "null",              "description": "The web url returned by the tool."            }          ]        }      },      "required": [        "id",        "name",        "path",        "mime_type",        "size",        "size_bytes",        "is_folder",        "kind",        "modified_at",        "provider",        "parent_id",        "etag",        "thumbnail_url",        "web_url"      ],      "additionalProperties": false,      "description": "The moved item."    }  },  "required": [    "message",    "file"  ],  "additionalProperties": false,  "description": "Structured result returned by the move_external_file tool.",  "$schema": "http://json-schema.org/draft-07/schema#"}