Shop the look (photo)
shop_the_lookShop a photo: an outfit picture, a street-style shot, a screenshot or a room. Look at the image yourself and send the pieces you see as pieces (description such as 'oversized camel wool coat', plus subcategory, colors, materials, style_tags and gender when clear). Vitrine returns the closest pieces it indexes for each one, matched on type, color, material and style, with price, stock and a link. Send image_url or image_base64 only if you cannot see the image; that path may be unavailable. Never describe people, only what they wear or what is in the room. Filters apply to every match (max_price per piece, size, ship_to). Returns {source, count, pieces: [{seen, matches}]}; then call complete_the_look on a match to finish the outfit. Read-only. Without a key, results are capped at 5 and omit trend data and match reasons; a free key (POST https://vitrine.fashion/v1/keys, sent as 'Authorization: Bearer ') unlocks them. Rate limits: 10 calls a minute anonymous, 60 with a key.
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": "shop_the_look"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| pieces | No | The pieces you see in the photo (preferred: use your own vision). Up to 8. | |
| filters | No | Hard filters. Applied before ranking; an item that fails any of them is never returned. | |
| image_url | No | An https image URL, when you cannot describe the photo yourself. Needs Vitrine vision. | |
| per_piece | No | Matches per piece, 1 to 5. Anonymous callers get 1. | |
| media_type | No | Required with image_base64. | |
| image_base64 | No | A base64 JPEG, PNG, GIF or WebP (up to about 5 MB), instead of image_url. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| next | No | ||
| count | Yes | ||
| pieces | Yes | ||
| source | Yes |