Upload file
upload_fileUpload product images or files via multipart/form-data; identical content returns the existing file, avoiding duplicates. Provide file_path or content_base64, max 100 MB.
Instructions
Upload a file (e.g. an image for a variant or collection) via multipart/form-data. Files are deduplicated by content: uploading identical bytes returns the existing file. Max size 100 MB. Provide exactly one source: file_path or content_base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | File name to send. Required with content_base64; defaults to the basename of file_path. | |
| file_path | No | Absolute path to the file on the local machine running this MCP server. Mutually exclusive with content_base64. | |
| content_base64 | No | File content as a base64 string. Mutually exclusive with file_path. |