gutenberg_validate_block
Validate a Gutenberg block by checking its block.json schema, required files, attribute definitions, and text domain usage to ensure block integrity.
Instructions
Validate a Gutenberg block: check block.json schema, required files (edit.js/save.js or render.php), attribute definitions, and text domain usage.
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": {
"path": "<path>"
},
"name": "gutenberg_validate_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the block directory (containing block.json) |