Generate schema markup
generate_schema_markupGenerate a JSON-LD block for a schema.org type (LocalBusiness, Organization, WebSite, Article, FAQPage, or Product) from a flat data object. For FAQPage, pass data.items as [{ question, answer }].
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>"
},
"name": "generate_schema_markup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Fields for the chosen type, e.g. { name, url, description, telephone }. FAQPage uses { items: [{ question, answer }] }. | |
| type | Yes | schema.org type to generate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jsonLd | Yes | The JSON-LD <script type="application/ld+json"> block, ready to paste. |