build_jsonld
Generate a schema.org JSON-LD block from given fields, validating required attributes and returning a ready tag.
Instructions
Сгенерировать готовый блок JSON-LD schema.org из переданных полей.
Не выдумывает данные — кладёт только то, что передали, и подсказывает, каких обязательных/рекомендованных полей не хватает. Возвращает готовый .
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": "build_jsonld"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Язык сообщений: 'ru' или 'en'. | ru |
| type | Yes | Тип schema.org: Organization, LocalBusiness, Article, Product, FAQPage, BreadcrumbList, WebSite. | |
| fields | Yes | Поля схемы. Для FAQPage — faq=[{question, answer}]; для BreadcrumbList — items=[{name, url}]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||