post_schema_generate
Generate valid, current-spec schema.org JSON-LD from plain fields — the complement to /api/schema/audit. POST {type, fields}; returns correctly nested JSON-LD, a ready-to-embed tag, and a self-audit. Types: Product, Review, Article, Recipe, VideoObject, LocalBusiness, Organization, BreadcrumbList. Current to 2026 Google guidance (interactionStatistic, Key Moments clips, etc). ($0.005 per call, paid via x402)
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>",
"fields": "<fields>"
},
"name": "post_schema_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Product, Review, Article, Recipe, VideoObject, LocalBusiness, Organization, or BreadcrumbList | |
| fields | Yes | Plain fields for the type, e.g. {name, price, brand} for Product |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| jsonld | No | ||
| script_tag | No | ||
| self_audit | No | ||
| generation_notes | No |