ds_update_schedule_alerts
Add missing FAILURE or ALL alerts to a DolphinScheduler schedule without overwriting existing alert configuration or changing the schedule definition.
Instructions
Add missing alerts only; preserve schedule/definition/task configuration.
Existing FAILURE/ALL with a positive group is skipped, never overwritten. Failures return status=failed with last confirmed state and write receipts; UNKNOWN means a write may have reached DS. Never retry an unknown write. No definition release, workflow run, schedule creation/deletion or rollback.
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": {
"project_name": "<project_name>",
"schedule_id": "<schedule_id>"
},
"name": "ds_update_schedule_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule_id | Yes | ||
| project_name | Yes | ||
| warning_type | No | FAILURE | |
| restore_online | No | ||
| warning_group_id | No |