Upload a product image
adgpt_upload_product_imageUpload a product photo to AdGPT from the local machine — pass an absolute file_path (preferred) OR data_base64 (+ filename). Validates it is a usable product image (min 100×100px, aspect between 1:4 and 4:1), stores it, and returns {url, width, height}; pass that url in user_instructions.uploaded_images when creating a campaign (up to 5). Formats: jpeg/png/webp/gif/bmp, max 10MB. Works before login too.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Filename for data_base64 uploads (extension sets the type), e.g. product.png. | |
| file_path | No | Absolute path to the image on the machine running the MCP server. | |
| data_base64 | No | Raw base64 image data (no data: prefix). Alternative to file_path. |