firestarter_upload_image
Upload a product photo and get a permanent public URL for marketplace listings. Provide an existing image URL or base64 data-URI; the server re-hosts images under 6 MB and returns the URL.
Instructions
Upload a product photo and get back a permanent public URL, accepted by firestarter_list and firestarter_update_listing image_urls. Two input forms: image_url takes the photo's existing URL (e.g. the hosted URL of an image attached in this conversation), which the server fetches and re-hosts — the reliable form whenever a URL exists; image_base64 (data-URI format, max 6 MB) covers a photo that exists at no URL. Downloading a linked image and rebuilding it as a base64 data-URI is this tool's known failure mode — image_url exists to avoid it. Returns the hosted URL on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional original filename (used to detect format: png, webp, gif). Defaults to jpeg if omitted. | |
| image_url | No | PREFERRED. Public URL of the photo (e.g. the hosted URL of an image attached in this conversation). The server fetches and re-hosts it (JPEG, PNG, WebP, or GIF under 6 MB). Pass this whenever the image exists at any URL. | |
| image_base64 | No | Fallback when the photo exists at no URL: the image as a base64 data-URI string (e.g. 'data:image/jpeg;base64,/9j/4AAQ...'). If the client provides raw base64 without the data-URI prefix, prepend 'data:image/jpeg;base64,' before passing it here. Max 6 MB. |