upload_image
Upload an image or digital file to the store's storage and retrieve a public fileUrl for product, category, or storefront images. Provide a local file path or remote URL.
Instructions
Upload an image (or digital file) to the store’s storage and get back a public fileUrl for product/category images. Provide EITHER file_path (local server only) OR source_url (fetched server-side).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No | Defaults to the basename of the path/url | |
| file_path | No | Absolute local path (stdio/local mode only) | |
| source_url | No | Publicly reachable URL to fetch | |
| upload_type | No | ||
| content_type | No | e.g. image/jpeg — inferred from extension if omitted |