Check Main Image
check_main_imageChecks a product image against Amazon main-image rules for size, square ratio, file format/size, white background, product fill, and edge cropping. Reads the image from disk only; nothing is uploaded.
Instructions
Check a product photo against Amazon main-image rules.
Measures six things: longest side (1,000 px min, 2,000 recommended), square ratio, file format and 10 MB limit, pure white RGB 255, 255, 255 background, 85% product fill, and whether the product is cropped at the edge. The photo is read from disk only; nothing is uploaded. Other platforms still get the Amazon report plus a short note, because those marketplaces are more relaxed.
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": {
"image_path": "<image_path>"
},
"name": "check_main_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | amazon | |
| image_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||