How to Find Last-Minute Flights with Copilot
Last-minute flights in your IDE with Copilot and ToolRouter. Quick urgent travel search.
ToolFlight SearchCopilot 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
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Flight Search tool:
- In Copilot Chat: "Find flights from SF to Portland for tomorrow"
- Copilot returns available last-minute flights with current prices
- 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