---
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/flight-search/use-cases/compare-airline-routes/copilot
---
# How to Compare Airline Routes with Copilot

Copilot compares flight routes within your IDE, checking both primary and alternative airports. Evaluate direct versus connecting options for upcoming trips, use find_airport to discover nearby airports you might have overlooked, and make routing decisions based on structured comparison data.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Compare flights from San Francisco to London -- all routing options"
3. Copilot returns direct and connecting route options with pricing
4. Ask: "Check alternative airports like Oakland and San Jose for cheaper options"

## Example Prompt

```
Compare route options from Denver to Tokyo. Include both direct and one-stop connections through West Coast hubs.
```

## Tips

- Use find_airport to discover alternative departure or arrival airports nearby
- Ask Copilot to flag routes with tight connection times that risk missed flights
