---
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/build-shipping-alerts/copilot
---
# How to Build Shipping Weather Alerts with Copilot

Copilot fetches route weather data and helps you build automated delay prediction systems. Pull forecasts for warehouse and distribution locations, generate threshold-based alert functions, and create weather monitoring infrastructure for your logistics application -- integrating forecast data into your shipping codebase.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Get weather for these warehouse locations: Dallas, Atlanta, Newark"
3. Copilot returns current conditions and forecasts for each location
4. Ask: "Generate a weather alert function that flags severe conditions"

## Example Prompt

```
Fetch weather data for our warehouse cities so I can build automated delay predictions.
```

## Tips

- Use weather data to build automated routing decisions in logistics software
- Copilot can generate threshold-based alert systems from the data structure
- Integrate with your dispatch system for proactive delay notifications
