---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/sunrise-sunset/use-cases/plan-construction-schedules/copilot
---
# How to Plan Construction Schedules with Copilot

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.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Get sunrise/sunset for site coordinates for the next 7 days"
3. Copilot returns daily time data
4. Build automated schedule adjustments from the data

## Example Prompt

```
Get daily sunrise and sunset for 39.7392,-104.9903 for the next 14 days. Output as JSON for scheduling.
```

## Tips

- Automate schedule generation as daylight hours change
- Build safety compliance checks around available light
- Use the data to estimate total productive hours per week
