generate_jsonld
Converts schema.org objects into JSON-LD script tags with escaped closing tags. Accepts a single object or an array for structured data generation.
Instructions
Serialize one or several schema.org objects into a JSON-LD script tag, with the sequence escaped. Pass a schema object or an array of them.
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": {
"schema": "<schema>"
},
"name": "generate_jsonld"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes |