Measure an image from a link against marketplace rules
check_image_urlFetch a product photo from a public https link and check it against a marketplace's published image rules, for example an Amazon, eBay, Etsy, Shopify, Walmart, TikTok Shop or Google Shopping main image. Herofab reads the real width, height, format and file size from the file, and estimates from the pixels whether the background is pure white (RGB 255), how much of the frame the product fills and whether it touches an edge (cut off). Pixel measurements are estimates; rules that could not be measured are listed under not_checked. Returns the same verdict as check_image_spec plus the measured values, and a link to fix the image when a rule fails. The image is not stored. Do not use it for a product page, a local file or an image behind a login; when only the dimensions are known, use check_image_spec.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platform": "<platform>",
"image_url": "<image_url>"
},
"name": "check_image_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Platform key, for example amazon, ebay, etsy, shopify, walmart, tiktok-shop, google-shopping (see get_image_requirements). | |
| image_url | Yes | Public https link to the image file itself (JPEG, PNG, WebP or GIF are measured; up to 15 MB), not to the product page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Platform name. | |
| pass | Yes | True when no checked rule fails; see not_checked for what was not checked. | |
| fails | Yes | Rules the image breaks. | |
| notes | Yes | Warnings that do not fail the image, such as recommendations and zoom size. | |
| fix_url | Yes | Where to fix a failing image; null when nothing fails. | |
| measured | Yes | What Herofab read from the image. width, height, format and file size come from the file; background, product and shadow are estimates from the pixels. | |
| platform | Yes | Platform key. | |
| guide_url | Yes | Herofab's guide for the platform. | |
| not_checked | Yes | Rules that could not be checked from the input, with the reason. |