update_notification
Update a CallRail notification rule to change alert type, enable/disable call or SMS triggers, adjust email/desktop/mobile delivery, or re-scope it to a company or tracker.
Instructions
Update a notification rule. Pass None to leave a field unchanged; only fields with explicit values are sent in the PUT body.
Notification rules trigger emails / desktop pushes / SMS when calls
or form submissions match conditions. Use this to rewire targets,
change triggering events, or silence a noisy rule without deleting
it (set all send_* to False).
Args:
notification_id: Notification rule ID.
name: NOT updatable (CallRail generates it). Ignored and reported
under api_warnings.
alert_type: 'all', 'first_call', 'missed_and_vm' or 'vm_only'
(CallRail rejects the older vocabulary). Unknown values warn
but are passed through.
send_email: Send email notification.
send_desktop: Send desktop browser push.
send_push: Send mobile push notification.
call_enabled: Trigger on call events.
sms_enabled: Trigger on SMS events.
email: NOT updatable (an email-only recipient is fixed when the
rule is created). Ignored and reported under api_warnings.
company_id / tracker_id: Re-scope the rule.
account_id: CallRail account ID. Auto-resolves if omitted.
Returns:
JSON string with the updated notification rule, plus api_warnings
when name or email was ignored.
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>"
},
"name": "update_notification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| No | |||
| send_push | No | ||
| account_id | No | ||
| alert_type | No | ||
| company_id | No | ||
| send_email | No | ||
| tracker_id | No | ||
| sms_enabled | No | ||
| call_enabled | No | ||
| send_desktop | No | ||
| notification_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |