Validate structured data (JSON-LD)
validate_schemaChecks JSON-LD structured data from a URL or raw snippet, reports parse errors, schema.org types, and missing required properties for common Google rich result types.
Instructions
Extract and check JSON-LD structured data (including @graph).
Give either a URL or the JSON-LD itself. Reports JSON parse errors with line and column, the schema.org types found, and missing required/recommended properties for common Google rich result types: Article/BlogPosting/NewsArticle, Product (+Offer, AggregateRating, Review), Organization, LocalBusiness and subtypes, BreadcrumbList, FAQPage, HowTo, Event, Recipe, VideoObject, JobPosting and SoftwareApplication. Also returns the Google Rich Results Test and Schema Markup Validator links. These checks approximate Google's documentation; the Rich Results Test is authoritative.
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 | Page URL to fetch and extract JSON-LD from. | |
| json_ld | No | Raw JSON-LD text, or an HTML snippet containing <script type="application/ld+json"> blocks. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||