---
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/world-economy/use-cases/analyze-trade-balance/copilot
---
# How to Analyze Trade Balance with Copilot

Copilot retrieves trade balance data and helps you build trade flow analysis tools. Generate Sankey diagram data structures, create import/export comparison charts, and build supply chain risk models -- using real trade figures to develop your global commerce visualization and analysis applications.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Get trade balance data for major trading nations"
3. Copilot returns the trade figures
4. Ask: "Format as a JSON dataset for a trade flow visualization"
5. Use the data in your global commerce dashboard

## Example Prompt

```
Fetch trade balance data for the top 10 trading nations and output as JSON with country, exports, imports, and balance fields.
```

## Tips

- Build trade flow visualizations with structured economic data
- Copilot can generate Sankey diagram code from trade flow data
- Use for supply chain risk assessment tools
