Generiere Gutenberg Block
gutenberg_generate_blockGenerate HTML code for Gutenberg blocks by providing block type, content, and attributes. Simplifies creating WordPress block markup.
Instructions
Generiert den HTML-Code für einen Gutenberg Block basierend auf dem Block-Typ und Attributen
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": {
"blockType": "<blockType>"
},
"name": "gutenberg_generate_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | Innerer HTML-Content des Blocks | |
| blockType | Yes | Block-Typ (z.B. "core/paragraph", "core/heading", "core/image") | |
| attributes | No | Block-Attribute als JSON |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes |