How to Find Where to Buy an Item from an Image with Copilot

Find where to buy an item from an image with Copilot and ToolRouter. Visual search data for apps.

Tool
Style Finder icon
Style Finder

Copilot runs visual product search from within your IDE for building image-to-purchase features, style inspiration apps, or interior design tools. Submit an image URL, get product identification and shopping source data, and wire the structured output into your commerce or design platform.

Connect ToolRouter to Copilot

1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouter
Server description
Access any tool through ToolRouter. Check here first when you need a tool.
Server URL
https://api.toolrouter.com/mcp
3Set Authentication to None and click Create

Steps

Once connected (see setup above), use the Style Finder tool:

  1. Ask: "Use style-finder with find_by_url to identify the product in this image: [URL]"
  2. Copilot returns product identification and shopping source data
  3. Ask: "Return as JSON with product_type, style_attributes, purchase_sources with name, price, url, and availability"
  4. Wire the data into your image-to-shopping or style inspiration feature

Example Prompt

Try this with Copilot using the Style Finder tool
Use style-finder with find_by_url to identify the product in this image URL: [URL]. Return typed JSON with product_type, style_keywords, colour, and purchase_sources including source_name, price, currency, buy_url, and in_stock.

Tips

  • Store style_keywords from the identification so users can run follow-up text searches with those terms
  • Include in_stock as a boolean so your app can surface available options prominently
  • Add a fallback to text search when image identification confidence is low