Run site audit
run_site_auditStart a site audit: crawls the site (robots.txt-aware, same-origin), checks every page for SEO issues (broken links, duplicate/missing titles and descriptions, redirect chains, orphan pages, canonical problems, thin content, and more), and optionally runs Lighthouse on a sample of pages. Runs in the background — poll get_audit_status, then read get_audit_issues. If the site rate limits the crawler it slows down and retries; pages it still cannot read are honestly flagged as blocked or rate-limited rather than misreported.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"url": "<url>"
},
"name": "run_site_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Start URL to crawl. | |
| maxPages | No | Page budget for the crawl (default 50). | |
| projectId | Yes | Required. The NameIO project ID to scope this call to. Get one from list_projects. | |
| runLighthouse | No | Run Lighthouse on a sample of up to 10 representative pages (default false — it adds several minutes of wall-clock time). Pass true only when the user wants performance/Core Web Vitals detail. | |
| renderJavaScript | No | Render JavaScript before auditing, for sites whose content or links load client-side or whose bot protection blocks the plain crawler. Slower, and limited to 1,000 pages. On hosted plans: Estimated $0.07 to $0.39 for up to 100 pages. Sites with aggressive bot detection need our more capable renderer and cost more. Billing counts pages actually rendered. Hosted plans hold the high end until the audit ends; an account that cannot cover it is refused. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| auditId | No |