add_block
Creates a new block in a brand kit for colors, typography, logos, visuals, videos, icons, collaterals, resources, or rich text. Use only after checking no duplicate exists.
Instructions
IMPORTANT: prefer ensure_block over this tool — ensure_block is idempotent and prevents duplicates. add_block creates a new block unconditionally. Calling it twice creates two separate blocks of the same type. Only use add_block when you have already confirmed via list_blocks that no block of this type exists. Block types: • colors — brand palette swatches (use add_colors) • typography — font entries (use add_typography) • rich_text — brand story / guidelines text (use set_brand_story) • logos — logo variants uploaded as SVG/PNG (use upload_asset with block_type=logos) • visuals — brand photography / illustrations (use upload_asset with block_type=visuals) • videos — brand video assets (use upload_asset with block_type=videos) • icons — SVG icon library (use upload_asset with block_type=icons) • collaterals — downloadable files like PDFs (use upload_asset with block_type=collaterals) • resources — source files, Figma, ZIPs (use upload_asset with block_type=resources)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kit_id | Yes | Kit UUID | |
| type | Yes | Block type | |
| name | No | Custom display name for the block. Defaults to the type label. |