Find it from a photo
visual_searchFind boutique stock that matches a photo, screenshot, or TikTok/Pinterest post. Returns close matches plus similar-look alternatives, so shoppers can locate or buy what they saw in an image.
Instructions
Items in the boutiques' stock that look like a photo: a screenshot, a street style shot, a product photo, or a TikTok or Pinterest link. It answers in two groups: items close enough to be the same or nearly the same, and items with a similar look. Use this when someone shares a picture of something they want to find, asks where to buy what is in a photo, or wants 'something like this'. Pass image_url for a direct image, image_base64 with media_type for an uploaded file, or post_url for a TikTok or Pinterest link. Photos are matched in memory and never stored. Instagram links cannot be read; a screenshot works instead.
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": "visual_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_url | No | A TikTok or Pinterest post link; the photograph is read from the post. | |
| image_url | No | A direct, publicly reachable JPEG, PNG or WebP URL (under 1.5 MB). | |
| image_file | No | A photograph the shopper uploaded in the chat; the host passes the file here. | |
| media_type | No | Required with image_base64. | |
| image_base64 | No | The image bytes, base64 encoded (under 1.5 MB decoded). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| close | Yes | ||
| in_spirit | Yes |