generate_schema
Generate valid Schema.org JSON-LD structured data from a schema type and fields, with paste-ready HTML snippets and Google rich-result validation.
Instructions
Generate valid Schema.org JSON-LD structured data markup. Provide the schema type and data fields; returns the full JSON-LD object, an HTML script snippet ready to paste, and validation results including Google rich-result eligibility. Supports all major types: Article, Product, LocalBusiness, FAQPage, HowTo, BreadcrumbList, Event, Organization, Person, Recipe, VideoObject, and more.
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": {
"type": "<type>",
"data": "<data>"
},
"name": "generate_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Key-value pairs of properties for the schema. Use property names from Schema.org (e.g. { "name": "...", "description": "...", "image": "..." }). | |
| type | Yes | The Schema.org type to generate (e.g. "Article", "Product", "FAQPage", "LocalBusiness", "HowTo"). | |
| validate | No | When true, validate the generated schema against Google's requirements. Defaults to true. |