veryfront__import_external_file

Import external file. Requires project.uploads.write.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug. Requires project.uploads.write and destination upload edit permission; quota and plan limits apply. Uses the caller's own personal provider connection.
providerstringYesStorage provider accessed through the caller's own personal connection. A shared project connection is not used.
file_idstringYesFile ID from list_external_files
base_pathstringOlder name for folder_path. Destination folder path prefix in project object storage (e.g., "my-docs" → "my-docs/{filename}"). Defaults to "external-imports/{timestamp}_{filename}".
folder_pathstringDestination folder inside project Uploads, relative (no leading "/"). Defaults to "external-imports" with a timestamped name.
timestamp_prefixbooleanPrefix the stored name with a timestamp. Defaults to true when no folder is given, false otherwise.
visibilitystringVisibility of the new upload: "project", "public" or "private". Omitted, the upload inherits the destination folder's visibility. Setting it needs upload admin access on the destination, and "public" a paid plan; a refusal imports nothing.
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__import_external_file",    "arguments": {      "provider": "<provider>",      "file_id": "<file_id>"    }  }}