generate_gb_block
Create GenerateBlocks-compatible block code for WordPress development, enabling developers to build Gutenberg blocks with proper attributes and inner blocks structure.
Instructions
Generate GenerateBlocks-compatible block code
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>"
},
"name": "generate_gb_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | GenerateBlocks block type | |
| attributes | No | Block attributes | |
| innerBlocks | No | Inner block markup |