Alert Template Edit
alert_template_editEdit an existing LibreNMS alert template by sending complete template details, including the required template ID, body, titles, and alert rule associations.
Instructions
Edit an existing alert template in LibreNMS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Alert template edit payload (must include template_id): - template_id (required): Integer template ID to edit. Without it LibreNMS would create a new template, so the tool refuses the call. - name (required): Template name - template (required): Template body (Laravel Blade syntax) - title (required): Alert title template - title_rec (required): Recovery title template - alert_rules (required): Array of alert rule IDs to associate with this template (use [] for none) LibreNMS replaces the whole template on edit, so resend every field, not just the ones being changed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||