search_products_by_image
Identify a pictured product in the catalog and find similar products. Stores submitted images and their identification and matching results for 30 days so they can be queried again by image_id. Give one picture: image_url (a public link the server downloads), image_data_url (data:image/jpeg;base64,...; JPEG, PNG, GIF or WebP, at most 5 MB) or image_id (the id of a picture searched before, kept 30 days, to look at another item in it without uploading again). A phone photo, a product image, or a screenshot of a page or of a shopping assistant's answer all work. Returns id (the picture's id), objects (every item read in the picture: label, brand, product, model, variant, barcode, text on the pack, search terms), object (the item searched) and items: products of the catalog (product_id for get_product, title, brand, image, the price and link of its main offer), in tiers: same = this item, maybe, size = another pack size, substitute, variant = another item of the same line, unjudged = not checked; p_same = the probability it is this item; same_image = the listing's own image is the picture. counts: products per tier, different (unrelated, not listed) included. message says why there are no items. errors lists the parts that failed (the answer is then partial). The first search of a picture takes several seconds (reading it and checking candidates); the same picture again is cached.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_products_by_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verify | No | Check the top 30 candidates against the picture (a few seconds more; checked ones are cached). false = unchecked candidates only (tier unjudged), fastest. | |
| image_id | No | The id returned for a picture searched before: look at another item in it without uploading again. | |
| image_url | No | A picture link the server downloads. Give one of image_url, image_data_url or image_id. | |
| object_index | No | Which item in the picture (from 0; 0 = the most prominent; all items read are in the returned objects). | |
| image_data_url | No | The picture as a data URL (data:image/jpeg;base64,...; JPEG, PNG, GIF or WebP, at most 5 MB), for a local picture. |