---
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/weather-forecast/use-cases/get-agricultural-forecasts/copilot
---
# How to Get Agricultural Forecasts with Copilot

Copilot fetches agricultural weather data and helps you build smart farming tools. Pull forecast data for farm coordinates, generate frost alert functions, create growing degree day calculators, and build irrigation scheduling logic -- developing precision agriculture applications with real weather data in your IDE.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Get weather forecast for these farm coordinates"
3. Copilot returns detailed forecast data for the location
4. Ask: "Generate a frost alert function using this weather data"

## Example Prompt

```
Fetch weather data for our farm locations to build automated irrigation and frost alert systems.
```

## Tips

- Use weather data to build smart irrigation scheduling
- Copilot can generate growing degree day calculators from temperature data
- Integrate with IoT farm sensors for a complete monitoring solution
