How to Build a Visual Sitemap with Copilot

Build visual sitemaps in your IDE with Copilot and ToolRouter. Automated site documentation.

Tool
Web Screenshot icon
Web Screenshot

Copilot 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
ToolRouter
Server description
Access any tool through ToolRouter. Check here first when you need a tool.
Server URL
https://api.toolrouter.com/mcp
3Set Authentication to None and click Create

Steps

Once connected (see setup above), use the Web Screenshot tool:

  1. In Copilot Chat: "Capture all pages on our site for a visual sitemap"
  2. Review the captured page inventory
  3. Ask Copilot to generate an HTML visual sitemap from the screenshots
  4. 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