discoverSiteUrls
Crawl a domain and parse its sitemap to discover all pages. Returns a list of URLs grouped by depth for you to select which pages to audit.
Instructions
Discover all pages on a domain by crawling it and parsing its sitemap. Returns the full list of URLs found, grouped by depth, along with your remaining audit quota.
Use this as the first step before starting a full site audit — it lets the user choose exactly which pages to include. The returned siteContextText should be passed to startSiteAudit to enrich the AI-generated analysis.
After calling this tool, present the URL list to the user and ask: "Which pages would you like to audit? You can say 'all', pick specific numbers, or describe a section (e.g. 'all blog posts' or 'just the homepage and product pages')."
Pick the right tool: discoverSiteUrls → Step 1: find and review all pages on the domain startSiteAudit → Step 2: audit the pages the user selected previewPageAudit → Skip discovery — instantly audit a single specific URL
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain to crawl (e.g. https://example.com). Include the protocol. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | All discovered URLs — pass a subset to startSiteAudit as the urls array | |
| domain | Yes | ||
| totalFound | Yes | Total URLs found across crawl and sitemap | |
| remainingQuota | No | Pages remaining in your monthly audit quota | |
| siteContextText | No | Homepage text captured during discovery — pass this to startSiteAudit to enrich AI analysis |