Audit canonical link integrity
audit_canonicalAudit canonical link integrity including presence, self-reference, cross-domain mismatches, trailing-slash hygiene, and og:url consistency for debugging duplicate content.
Instructions
Audit a page's canonical link integrity: presence, self-reference, cross-domain mismatches, trailing-slash hygiene, and og:url consistency.
Read-only. One HTTP GET to fetch the HEAD section.
Deterministic, rule-based; no LLM.
When to use: a focused canonical-only audit (e.g. debugging a duplicate-content issue). For a full HEAD audit including OpenGraph, hreflang, noindex, title, use check_technical. For everything-on-a-page, use audit_page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public URL whose canonical link tag and og:url consistency you want to audit. Must be a fully-qualified http(s) URL. The tool fetches the URL (following redirects) and inspects only the <head> section; the body is not parsed. | |
| respect_robots | No | If true (default), respect robots.txt before fetching. Set false only for auditing your own site where you've intentionally blocked crawlers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| og_url | Yes | ||
| findings | Yes | ||
| canonical | Yes | ||
| fetched_at | Yes | ||
| cross_domain | Yes | Whether the canonical points to a different domain. | |
| self_referencing | Yes | Whether the canonical points to the audited URL. |