run_audit
Perform a complete SEO audit by analyzing sitemaps, sampling pages, and generating prioritized recommendations with cached reports.
Instructions
FULL AUDIT - Run a complete SEO audit with automatic sampling, caching, and report generation.
This is the main audit tool that orchestrates the entire workflow:
Discovers and analyzes sitemaps
Identifies route patterns and creates sampling strategy
Captures sample pages (cached - only fetches once)
Analyzes SEO, structured data, technical issues, social graph
Generates prioritized recommendations
Saves everything to reports/[sitename]/ folder
The audit captures pages ONCE and stores:
HTML snapshots for inspection
Full analysis data as JSON
Final report as JSON + Markdown
Returns comprehensive findings and prioritized fix recommendations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseUrl | Yes | The base URL of the site to audit (e.g., https://talent.com) | |
| reportsDir | No | Directory to save reports (default: ./reports) | |
| maxSitemaps | No | Maximum sitemaps to process (default: 15) | |
| maxUrlsPerSitemap | No | Maximum URLs per sitemap for pattern analysis (default: 2000) | |
| samplesPerRouteType | No | Override samples per route type (default: auto based on route importance) | |
| concurrency | No | Concurrent page captures (default: 2) |