How to Build a Visual Sitemap with Copilot
Build visual sitemaps in your IDE with Copilot and ToolRouter. Automated site documentation.
ToolWeb ScreenshotCopilot captures visual sitemaps from your IDE and can generate browsable HTML documentation from the results. Script automated sitemap generation that runs on deployment, and Copilot helps build the presentation layer -- a navigable visual map of your application that serves as living documentation.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Web Screenshot tool:
- In Copilot Chat: "Capture all pages on our site for a visual sitemap"
- Review the captured page inventory
- Ask Copilot to generate an HTML visual sitemap from the screenshots
- Include the visual sitemap in your project documentation
Example Prompt
Try this with Copilot using the Web Screenshot tool
Build a visual sitemap of our app by capturing every route. Generate an HTML page to display it.
Tips
- Copilot can generate a browsable HTML sitemap from your screenshot captures
- Automate sitemap generation as part of your documentation build
- Great for documenting all routes in a single-page application