add_block_v2
Add a block with full prototype parity (gallery, countdown, product, embed presets).
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": {
"type": "<type>"
},
"name": "add_block_v2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Link destination (required for link blocks), or the image, embed, or product checkout URL. | |
| text | No | Text for text, header, marquee, and countdown blocks. | |
| type | Yes | Kind of block to add. | |
| label | No | Link button text (required for link blocks). Also used as header text, image alt text, or countdown label. | |
| price | No | Product price, e.g. "29" (product blocks). | |
| style | No | Style fields for the new block. | |
| title | No | Product name (product blocks). | |
| currency | No | Currency symbol shown with the price, e.g. "$" (product blocks). | |
| position | No | 0-based index to insert the block at. Defaults to the end. | |
| target_iso | No | Countdown end as an ISO 8601 date-time (countdown blocks). Defaults to one week from now. | |
| description | No | Optional subtitle under a link block's label. | |
| link_layout | No | Link blocks: 'feature' shows a large image card; 'standard' is a normal button. | |
| embed_preset | No | Embed blocks: a Google Maps map, a booking page, or a form. |