How to Analyze Trade Balance with Copilot

Trade balance data in your IDE with Copilot and ToolRouter. Import/export data for economic applications.

Tool
World Economy icon
World Economy

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.

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
ToolRouter
Server description
Access any tool through ToolRouter. Check here first when you need a tool.
Server URL
https://api.toolrouter.com/mcp
3Set Authentication to None and click Create

Steps

Once connected (see setup above), use the World Economy tool:

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

Example Prompt

Try this with Copilot using the World Economy tool
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