put_notification_element
Update a single element within a V2 notification template. The template stays a draft; making it live is a separate step this tool cannot perform.
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": {
"notification_id": "<notification_id>",
"element_id": "<element_id>",
"type": "<type>"
},
"name": "put_notification_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| if | No | Conditional expression for element visibility | |
| ref | No | Reference identifier | |
| data | No | Element data payload | |
| loop | No | Loop expression for repeating elements | |
| type | Yes | Element type (e.g. text, action, image, divider, meta) | |
| state | No | Must be "DRAFT". These tools cannot publish. | |
| channels | No | Channels this element applies to | |
| element_id | Yes | The element ID to update, from a prior get_notification or get_notification_draft_content response. Copy it exactly, character for character, from the response that returned it — never retype it from memory or reconstruct it. | |
| notification_id | Yes | The notification template ID (nt_ prefix). Copy it exactly, character for character, from the response that returned it — never retype it from memory or reconstruct it. |