Upload one or more images to a Wix site's Media Manager.
Returns the uploaded file URL (wixstatic.com) and media ID usable in other Wix APIs.
⚠️ You MUST provide image data — calling this tool without image data will fail.
⚠️ NEVER call this tool more than once when uploading multiple images. Always pass ALL images together in a single call using the image array.
Choose ONE of the two supported input methods:
Option A — image array (use when the user attaches image files OR provides image URLs):
Pass siteId + image array with ALL images at once. Each item requires download_url.
If you are a ChatGPT/OpenAI client: user-attached files are automatically resolved to download_urls — just pass them in the image array.
Even for a single image, wrap it in an array.
Option B — imageBase64 (use only when you can read and encode the file yourself):
Read the file, encode it as base64, and pass siteId + imageBase64 + mimeType. Supports one image at a time.
Connector