generate_schema_markup
Generate VALID schema.org JSON-LD for a page, grounded on its real content (never invents facts). Returns 'jsonld' plus an 'html_snippet' that is READY TO APPLY as-is, and 'notes' with placement guidance + existing-schema warnings. Apply it via the platform's own tools: on Wix add the html_snippet as a Custom Code embed in the site HEAD using the user's connected Wix MCP (site-wide for organization/localbusiness, per-page for faq/article/howto); on WordPress use Xyle's wp tools; otherwise hand the snippet to the user to paste into their . For faq/howto/localbusiness, pass real page facts via 'context' when the page text alone is not enough — never fabricate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full page URL to generate schema for | |
| context | No | Optional grounded facts, e.g. {"faqs":[{"q":"...","a":"..."}], "business_name":"...", "address":{...}, "telephone":"...", "logo":"...", "author":"..."} | |
| schema_type | No | faq | organization | article | howto | breadcrumb | localbusiness | auto (default auto — picks from page shape) |