manage_alerts
Change the user's alerts: tune or switch off a rule (followers drop, engagement drop, no new posts), set how often the alert email comes (every day, every Monday, or never), or hide an account from alerts and show it again. Use this when the user asks to change, mute, or stop alerts, e.g. "only email me on Mondays", "warn me at a 5% follower drop", "stop alerting me about @x". Call get_alerts first if you need the current settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What to change | |
| metric | No | set_rule: which rule | |
| enabled | No | set_rule: switch the rule on or off | |
| username | No | hide_account / show_account: the account (without @) | |
| frequency | No | set_email_frequency: daily, weekly (Monday) or never | |
| threshold | No | set_rule: percent drop for followers (1-50) and engagement (10-90), days without a post for posts (3-60) | |
| window_days | No | set_rule: period the drop is measured over, followers and engagement only |