---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/web-scraper/use-cases/extract-product-data/copilot
---
# How to Extract Product Data with Copilot

Copilot 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.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

1. Add ToolRouter to your Copilot MCP configuration
2. Open Copilot Chat and ask: "Scrape product data from example-store.com/product/123"
3. Copilot extracts the data and returns it inline in your editor
4. Ask: "Generate a TypeScript interface matching this product data structure"
5. Use the extracted data directly in your application code

## Example Prompt

```
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
