---
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/wikipedia-lookup/use-cases/get-structured-data/copilot
---
# How to Get Structured Data with Copilot

Copilot puts Wikipedia at your fingertips inside your editor for the constant small research moments that arise during development. Verify a date in your documentation, look up a technical concept before choosing an implementation approach, check the background of a technology mentioned in a code review, or extract structured reference data for your application -- all without opening a browser tab or losing your place in the codebase. The zero-context-switch access makes you more likely to verify assumptions rather than guessing.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Get structured data about Python programming language from Wikipedia using wikipedia-lookup"
3. Copilot extracts key facts: release date, creator, latest version, paradigm
4. Ask Copilot to format the data as a TypeScript constant or JSON file
5. Use the data in your application or documentation

## Example Prompt

```
Extract structured data about all programming languages mentioned in our tech stack and create a languages.json reference file.
```

## Tips

- Copilot can create reference data files directly in your project
- Use for populating seed data, reference tables, or configuration files
- Ask Copilot to create TypeScript types alongside the extracted data
