Create an HTML block
create_blockCreate a new HTML block in the portal by providing its name, data query, CSS, tags, and access settings.
Instructions
Create a new HTML block. Accepts the full block payload (name, data, css, json_data, tags, access). Type is always html. Read the zportal://guide/* resources first to produce a correct two-field block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name of the block. | |
| type | No | Block type. This server only handles HTML blocks, so it must be "html". | html |
| data | No | Query config object, e.g. { "__source__": "<datasource-uuid>", "columns": ["*"], "limit": 500 }. | |
| css | No | Block CSS. Array form per the portal API; a raw CSS string is also accepted. | |
| json_data | No | Widget/extra config object. | |
| tags | No | Tag names to attach. | |
| access | No | Access control, e.g. { "groups": ["group-name"] }. |