Audit a page's markup
audit_pageCheck a web page's structured data against Google's documented requirements to see which rich-result features are met or missing, including robots.txt access for AI agents.
Instructions
Check a page's structured data against what Google documents for it.
html_or_url: an http(s) URL to fetch, or the HTML itself. site: for a URL, also read the site's robots.txt, llms.txt and llms-full.txt.
Returns {"ok", "url", "records", "page", "not_checked", "errors", "warnings", "notes"}, and for a URL read with site "crawlers", "robots_txt", "other_agents", "llms_txt", "llms_full_txt" and "fetch". Every JSON-LD, microdata and RDFa record lists the rich-result features its type is documented for, each with requirements_met and the required and recommended properties it lacks, and findings that each name a severity, the record's source, the property path and the URL of the rule. crawlers says, per AI agent from its vendor's own page, whether robots.txt admits the page. ok is true whenever the audit ran: a page with errors is an answer; "not_checked" says what was not. errors, warnings and notes count everything found; past 75,000 bytes the last records, page findings and other_agents are left out, counted in records_left_out, page_left_out and other_agents_left_out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | for a URL, also read the site's robots.txt, llms.txt and llms-full.txt. | |
| html_or_url | Yes | an http(s) URL to fetch, or the HTML itself. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| tdm | No | ||
| url | No | ||
| page | No | ||
| error | No | ||
| fetch | No | ||
| notes | No | ||
| errors | No | ||
| records | No | ||
| crawlers | No | ||
| llms_txt | No | ||
| warnings | No | ||
| robots_txt | No | ||
| not_checked | No | ||
| other_agents | No | ||
| llms_full_txt | No | ||
| page_left_out | No | ||
| records_left_out | No | ||
| other_agents_left_out | No |