diff --git a/cron/scheduler.py b/cron/scheduler.py index a7c9c6ed1..15cfb61bf 100644 --- a/cron/scheduler.py +++ b/cron/scheduler.py @@ -137,6 +137,9 @@ def _deliver_result(job: dict, content: str) -> None: "whatsapp": Platform.WHATSAPP, "signal": Platform.SIGNAL, "matrix": Platform.MATRIX, + "mattermost": Platform.MATTERMOST, + "homeassistant": Platform.HOMEASSISTANT, + "dingtalk": Platform.DINGTALK, "email": Platform.EMAIL, "sms": Platform.SMS, } diff --git a/tools/cronjob_tools.py b/tools/cronjob_tools.py index 0cb1dc19d..fccc25a90 100644 --- a/tools/cronjob_tools.py +++ b/tools/cronjob_tools.py @@ -370,7 +370,7 @@ Important safety rule: cron-run sessions should not recursively schedule more cr }, "deliver": { "type": "string", - "description": "Delivery target: origin, local, telegram, discord, signal, sms, or platform:chat_id" + "description": "Delivery target: origin, local, telegram, discord, slack, whatsapp, signal, matrix, mattermost, homeassistant, dingtalk, email, sms, or platform:chat_id" }, "model": { "type": "string", diff --git a/tools/send_message_tool.py b/tools/send_message_tool.py index 3ebd6c5b7..ed0a5cb60 100644 --- a/tools/send_message_tool.py +++ b/tools/send_message_tool.py @@ -124,6 +124,10 @@ def _handle_send(args): "slack": Platform.SLACK, "whatsapp": Platform.WHATSAPP, "signal": Platform.SIGNAL, + "matrix": Platform.MATRIX, + "mattermost": Platform.MATTERMOST, + "homeassistant": Platform.HOMEASSISTANT, + "dingtalk": Platform.DINGTALK, "email": Platform.EMAIL, "sms": Platform.SMS, }