How to Compare Hotel Prices with Copilot
Compare hotel rates in your IDE with Copilot and ToolRouter. Quick price checks without context switching.
ToolHotel SearchCopilot runs quick hotel price comparisons from your editor, outputting results as structured tables or JSON. Compare rates near conference venues while planning travel, and generate formatted comparison data for team travel planning documents or expense justification.
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 Hotel Search tool:
- In Copilot Chat: "Compare hotel prices in Portland for next weekend"
- Copilot returns a rate comparison across available properties
- Ask: "Format this as a markdown table sorted by total cost"
Example Prompt
Try this with Copilot using the Hotel Search tool
Compare hotel rates near the convention center in San Diego for March 20-23. Sort by price.
Tips
- Copilot can output the comparison as structured data for further processing
- Ask for the price difference between weekday and weekend rates