---
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/public-holidays/use-cases/check-bank-holidays/copilot
---
# How to Check Bank Holidays with Copilot

Copilot checks bank holidays and helps you build payment date validation into your financial systems. Fetch holiday calendars, create settlement date calculator functions, and generate next-business-day lookup utilities for your payment processing pipeline -- integrating bank holiday awareness into your financial code.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Is 2026-12-28 a bank holiday in the UK?"
3. Copilot returns the result
4. Ask: "Get all UK bank holidays for 2026 and generate a JSON config for our payment scheduler"
5. Integrate the holiday data into your payment processing system

## Example Prompt

```
Fetch UK bank holidays for 2026 and create a lookup function that returns the next business day for any given date.
```

## Tips

- Build bank holiday checks into your payment processing pipeline
- Generate settlement date calculators from the holiday data
- Use the API to validate payment dates in your financial application
