veryfront__create_external_file

Create external file. Requires project.integrations.connect.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject 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.
folder_idstringYesParent folder ID from list_external_files, or "root" for the provider root
namestringYesCreates a new file without replacing an existing one. OneDrive and SharePoint return conflict for an existing name; Google Drive creates a new item with the same name. File name, such as "report.md"; no "/".
contentstringYesFile content, at most 10000000 characters
content_encodingstringEncoding of content: "utf8" (default) for text, "base64" for binary bytes
mime_typestringMIME type; defaults from the name, else text/plain (utf8) or application/octet-stream (base64)
idempotency_keystringOptional 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.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__create_external_file",    "arguments": {      "provider": "<provider>",      "folder_id": "<folder_id>",      "name": "<name>",      "content": "<content>"    }  }}