---
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/find-last-minute-deals/copilot
---
# How to Find Last-Minute Flights with Copilot

Copilot runs urgent flight searches from your IDE when travel plans change suddenly. Find available flights for tomorrow without leaving your code, check alternative departure airports, and make emergency booking decisions during the same session where the travel need arose.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Find flights from SF to Portland for tomorrow"
3. Copilot returns available last-minute flights with current prices
4. Ask: "Are there cheaper options if I fly from Oakland instead?"

## Example Prompt

```
Urgent: find me a flight from Seattle to LA leaving today or early tomorrow. Any airline.
```

## Tips

- Perfect for emergency travel booking without leaving your current workflow
- Last-minute short-haul flights are often cheaper than long-haul ones
