Block Create
block_createCreate a new Drupal block with specified ID, label, and plugin, optionally defining its region, settings, and visibility.
Instructions
Create a new block.
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": {
"id": "<id>",
"label": "<label>",
"plugin": "<plugin>"
},
"name": "block_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| label | Yes | ||
| plugin | Yes | ||
| region | No | ||
| settings | No | ||
| visibility | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||