Update campaign defaults
pushengage_update_campaign_defaultsUpdate campaign default settings such as UTM parameters, fallback notification, fallback attributes, or expiry. Pass only the fields you want to change; current values are merged automatically.
Instructions
Updates one or more of the current site's campaign default settings. Pass only the groups and fields you want to change: utm_parameters, fallback_notification, fallback_attributes, and/or default_expiry. The tool reads the current values and merges your changes, so partial edits are fine (e.g. change just utm_parameters.source, or set default_expiry to {days:7}). default_expiry is given as days/hours/minutes (omitted components count as 0; total must be between 1 minute and 28 days). When utm_parameters.enabled is true, source/medium/campaign must be non-empty after the merge. Provide at least one group. Returns the updated settings.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pushengage_update_campaign_defaults"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Override the currently selected site. | |
| default_expiry | No | Default notification expiry. Set as days/hours/minutes; omitted components count as 0. Total must be between 1 minute and 28 days. | |
| utm_parameters | No | UTM defaults appended to campaign URLs. Provide only the fields you want to change. | |
| fallback_attributes | No | Fallback subscriber city/country used when the browser can't resolve them. | |
| fallback_notification | No | Notification shown if the browser cannot fetch the sent notification. Title, message, and URL are all required by the API, so any you omit are kept from the current values. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| default_expiry | No | ||
| utm_parameters | No | ||
| fallback_attributes | No | ||
| fallback_notification | No |