---
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/site-crawler/use-cases/find-404-errors/openclaw
---
# How to Find 404 Errors with OpenClaw

OpenClaw crawls your site for 404 errors and outputs a structured report including the broken URL, referring pages, and status codes. The machine-readable format feeds directly into automated redirect generation scripts or can be imported into project management tools for systematic fix tracking.

## Setup

openclaw mcp add toolrouter -- npx -y toolrouter-mcp

## Steps

1. Connect ToolRouter: openclaw mcp add toolrouter -- npx -y toolrouter-mcp
2. Ask: "Crawl mysite.com and find all 404 errors"
3. OpenClaw lists every 404 with referring pages
4. Request redirect suggestions for each broken URL
5. Fix the issues and re-crawl to confirm resolution

## Example Prompt

```
Crawl mysite.com for 404 errors. Show me every broken page and which pages link to it.
```

## Tips

- Run monthly to catch 404s before they accumulate
- Prioritize 404s by number of inbound internal links
- Combine with a full site inventory for comprehensive site health monitoring
