---
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/geo/use-cases/optimize-for-ai-discovery/copilot
---
# How to Optimize for AI Discovery with Copilot

Copilot applies AI discovery optimizations directly to your content files. It analyzes pages for citation potential, generates schema.org markup, restructures headings for LLM parsing, and adds definition paragraphs -- implementing each change in your source code so you can review and commit as a pull request.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Optimize this page for AI discovery using the geo tool"
3. Copilot returns specific content and markup recommendations
4. Ask: "Apply these changes to the HTML file"
5. Review and commit the optimized content

## Example Prompt

```
Optimize our API documentation pages for AI discovery. Developers often ask AI assistants about our APIs -- I want our docs cited.
```

## Tips

- Developer documentation is heavily cited by AI coding assistants
- Add clear code examples with descriptions -- LLMs extract these frequently
- Copilot can implement content changes directly in your source files
