Create external folder

veryfront__create_external_folder

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".
folder_idstringNoParent folder ID from list_external_files, or "root" Minimum length: 1. Maximum length: 1024.
parent_idstringNoOlder name for folder_id: parent folder ID (use "root" for root folder) Maximum length: 1024.
namestringYesFolder name Minimum length: 1. Maximum length: 255.
idempotency_keystringNoOptional key of 1-128 characters without whitespace. Retrying with the same key and arguments within 24 hours returns the first result instead of creating another item; the same key with different arguments is refused. Minimum length: 1. Maximum length: 128.

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__create_external_folder",    "arguments": {      "provider": "onedrive",      "name": "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 created folder.

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."    },    "folder_id": {      "type": "string",      "minLength": 1,      "maxLength": 1024,      "description": "Parent folder ID from list_external_files, or \"root\""    },    "parent_id": {      "type": "string",      "maxLength": 1024,      "description": "Older name for folder_id: parent folder ID (use \"root\" for root folder)"    },    "name": {      "type": "string",      "minLength": 1,      "maxLength": 255,      "pattern": "^[^/]*$",      "description": "Folder name"    },    "idempotency_key": {      "type": "string",      "minLength": 1,      "maxLength": 128,      "pattern": "^\\S+$",      "description": "Optional key of 1-128 characters without whitespace. Retrying with the same key and arguments within 24 hours returns the first result instead of creating another item; the same key with different arguments is refused."    }  },  "required": [    "provider",    "name"  ],  "additionalProperties": false,  "description": "Arguments for the create_external_folder 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 created folder."    }  },  "required": [    "message",    "file"  ],  "additionalProperties": false,  "description": "Structured result returned by the create_external_folder tool.",  "$schema": "http://json-schema.org/draft-07/schema#"}