How to Plan Travel Activities with Copilot
Travel daylight planning in your IDE with Copilot and ToolRouter.
ToolSunrise SunsetCopilot provides sunrise and sunset data as structured output you can integrate directly into applications -- photography planning tools, event scheduling systems, solar energy calculators, or smart home automation platforms. Get precise astronomical times for any coordinates and date returned as typed JSON, ready to drop into your codebase. Build features that automatically adjust to seasonal daylight changes without hardcoding sunrise tables.
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 Sunrise Sunset tool:
- In Copilot Chat: "Get sunrise/sunset for destination coordinates and dates"
- Copilot returns structured time data
- Build into travel planning apps or trip itineraries
Example Prompt
Try this with Copilot using the Sunrise Sunset tool
Get sunrise and sunset for 35.6762,139.6503 from April 1-7 as JSON for a travel itinerary app.
Tips
- Build travel apps that automatically suggest activity timing
- Use daylight data to optimize sightseeing route order
- Combine with weather forecasts for complete trip planning