How to Extract Product Data with Copilot
Extract e-commerce product data in your IDE with Copilot and ToolRouter. Structured scraping without leaving your editor.
ToolWeb ScraperCopilot extracts product data from within your IDE, making it easy to pull e-commerce data while building product comparison features, importing catalog data, or writing price monitoring scripts. The scraped data lands right where your code needs it, eliminating manual copy-paste from browser-based scraping tools.
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
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Web Scraper tool:
- Open Copilot Chat and ask: "Scrape product data from example-store.com/product/123"
- Copilot extracts the data and returns it inline in your editor
- Ask: "Generate a TypeScript interface matching this product data structure"
- Use the extracted data directly in your application code
Example Prompt
Try this with Copilot using the Web Scraper tool
Extract product data from example-store.com/product/123 and generate a TypeScript type definition that matches the extracted structure.
Tips
- Great for building product data models based on real page structures
- Copilot can generate database schemas from extracted product data
- Use extracted data to seed your development database