generate_gutenberg_block
Generate complete Gutenberg block code including block.json, PHP registration, and React components for WordPress development.
Instructions
Generate complete Gutenberg block code including block.json, PHP registration, and React components
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": {
"name": "<name>",
"title": "<title>"
},
"name": "generate_gutenberg_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Block name (slug, e.g., "custom-card") | |
| title | Yes | Block title (display name) | |
| description | No | Block description | |
| category | No | Block category (text, media, design, widgets, theme, embed) | |
| icon | No | Dashicon name or icon identifier | |
| keywords | No | Search keywords for the block |