How to Plan Outdoor Events with Copilot

Plan outdoor events in your IDE with Copilot and ToolRouter. Daylight timing data.

Tool
Sunrise Sunset icon
Sunrise Sunset

Copilot 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
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 Sunrise Sunset tool:

  1. In Copilot Chat: "Get sunset time for these coordinates on this date"
  2. Copilot returns structured time data
  3. Use to build event scheduling features

Example Prompt

Try this with Copilot using the Sunrise Sunset tool
Get sunset and twilight times for 37.7749,-122.4194 on 2026-08-15. I need this for an event planning app.

Tips

  • Build event timing features with precise astronomical data
  • Use twilight end time to trigger lighting automation
  • Calculate daylight duration for venue capacity planning