---
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/address-geocoding/use-cases/validate-and-standardize-addresses/copilot
---
# How to Validate Addresses with Copilot

Copilot validates and standardizes addresses within your development environment. Clean up address data in seed files and fixtures, write validation logic using geocoding confidence scores, and replace messy address strings in your codebase with properly formatted versions.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Validate and standardize these addresses" and paste the list
3. Copilot returns standardized versions and flags invalid entries
4. Ask: "Update the addresses in my seed data file with the standardized versions"

## Example Prompt

```
Validate all the addresses in my test fixtures file and replace them with properly formatted versions.
```

## Tips

- Great for cleaning up address data in seed files, fixtures, and configuration
- Copilot can write validation logic that uses the geocoding confidence score
