How to Find Last-Minute Flights with Copilot

Last-minute flights in your IDE with Copilot and ToolRouter. Quick urgent travel search.

Tool
Flight Search icon
Flight Search

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.

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 Flight Search tool:

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

Example Prompt

Try this with Copilot using the Flight Search tool
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