---
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/country-data/use-cases/get-country-profiles/copilot
---
# How to Get Country Profiles with Copilot

Copilot fetches country profiles and integrates them into your application data layer. Pull comprehensive country information, generate TypeScript interfaces from the data structure, and seed your database or configuration files with accurate country data -- automating internationalization groundwork for your application.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Look up a country profile for Egypt using country-data"
3. Copilot returns the structured profile
4. Ask: "Return as a TypeScript interface with the data populated"
5. Use in your application directly

## Example Prompt

```
Get a country profile for Singapore. Return as JSON with all available fields.
```

## Tips

- Use profiles to seed your application database with country information
- Copilot can generate type definitions from the profile structure
- Automate country data population for internationalization features
