Validate structured data
validate_schemaCheck a page's structured data (JSON-LD and microdata, @graph and @id references followed). Reports two things apart: schema.org validity (real types, real property names on the right type, with "did you mean" for typos) and Google rich-result eligibility (required and recommended fields for Product, Offer, Review, Breadcrumb, Article, FAQ, Recipe, Event, Video, JobPosting, LocalBusiness, Organization and more). Pass url to fetch the live page as the server sends it (no JavaScript rendering), or html with markup you are about to publish or fetched on the user's server (staging sites).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| html | No | Raw HTML or just the <script type="application/ld+json"> blocks. |