alert_manager
BEHAVIOR: State-mutating operation. Injects or removes in-memory execution triggers in the C++ engine. When triggered, it dispatches asynchronous out-of-band notifications (Telegram/Discord) without requiring the agent to remain awake.
PRICING: Targeted coin alerts cost $0.001 USD. Global wildcard scans ('*') cost $0.002 USD. Wildcards require a positive USD balance on Free/Trader plans.
ACTIONS & PARAMETER INTERACTIONS:
'create': Deploys a new trigger. Requires 'command'. Returns the assigned alert_id and expiration time.
'list': Returns an array of currently active triggers, their IDs, and remaining TTLs. Ignores 'command' and 'alert_id'.
'cancel': Removes a specific trigger. Requires 'alert_id'. Ignores 'command'.
'clear_all': Purges all active triggers for the account. Ignores 'command' and 'alert_id'.
USAGE GUIDELINES: Use this tool to establish asynchronous monitoring instead of polling market_data. Requires an authenticated API key; anonymous guests will receive an authorization error. Enforces plan capacity limits.
ERRORS: Authentication failures, capacity limit breaches, or syntax errors return an explicit 'isError: true' payload detailing the rejection reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Trigger management action. | |
| command | No | Unified BitCLI command string (required for 'create', e.g. 'btc 95k', '* vol 15m x4 cd=30m'). | |
| alert_id | No | Numeric alert identifier (required for 'cancel'). | |
| ttl_minutes | No | Mandatory lifetime in minutes (range: 1 to 1440). Alerts automatically expire afterward. | |
| destinations | No | Array of destination routing strings obtained via `user_account` (e.g. ['tg_user:12345']). Defaults to the user's registered Telegram. |