---
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/crypto-prices/use-cases/track-realtime-crypto-prices/copilot
---
# How to Track Real-Time Crypto Prices with Copilot

Copilot fetches live crypto prices directly in your editor, making it easy to prototype price display components, build typed interfaces from real response data, and test portfolio tracking features with current market values. Use structured output to develop your crypto dashboard without context switching.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Get the current price of ETH"
3. Copilot returns the live price with market data
4. Ask: "Write a function that fetches BTC price every 30 seconds using this data format"

## Example Prompt

```
Get the current Bitcoin price so I can use the response format in my price display component.
```

## Tips

- Use the response structure to build typed interfaces for your app
- Copilot can generate price-fetching utilities based on the returned data shape
- Great for building crypto dashboards and portfolio trackers
