Upload file
Reserve a direct upload slot for a local file that is too large for MCP base64.
← All Meta tools endpoints · Capability overview
/v1/meta-tools/upload-filehttps://api.vee3.io/v1/meta-tools/upload-file
Reserve a direct upload slot for a local file that is too large for MCP base64.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
meta-tools.upload_fileParameters1 field
file_namestringRequiredDesired file name for the uploaded file. Extension is optional and is replaced based on detected file type.
max length 255
Response7 fields
upload_codestringShort code to pass to the @vee3/upload CLI.
upload_idstringStable identifier for the reserved upload.
expires_atstringISO 8601 timestamp when the upload code can no longer be resolved (60 minutes after reserve).
max_bytesintegerMaximum allowed file size in bytes.
install_commandstringOne-time command to install the uploader CLI (`npm install -g @vee3/upload`). On networks that inspect HTTPS, install may require Node 22.15+ with NODE_OPTIONS=--use-system-ca.
commandstringSuggested terminal command for uploading the local file.
troubleshootingstringWhat to do if installation or uploading fails: re-read this tool's description via meta-tools.describe for setup and troubleshooting steps.
HTTP errors: unauthorized, payment_required, validation_error, upload_file_name_in_use