send_notification
BEHAVIOR: Outbound messaging operation. Routes proactive notifications to the human trader's verified Telegram chat, channel, or Discord webhook. Dispatches discretionary trade ideas, market condition updates, or risk reports to keep the user informed without waiting for prompts.
PRICING: $0.001 USD per dispatch. Deducted from daily tariff quota or USD balance.
PARAMETER INTERACTIONS:
'target': Destination identifier string obtained from
user_account.list_destinations. Prefixes determine transport: 'tg_user:' / 'tg_channel:' for Telegram, 'out_wh:' for Discord webhooks. Must belong to the authenticated account.'message': Main message body. For Telegram, supports HTML tags. For Discord, maps to the embed description.
'title': Optional subject line. For Discord, renders as the embed headline. For Telegram, prepends as a bold header if provided.
RETURNS: Structured JSON confirming transmission: 'status' ('dispatched'), 'target', 'message_length', 'timestamp_utc', and '_usage' (cost_usd and remaining quota/balance).
USAGE GUIDELINES: Call user_account with action='list_destinations' prior to sending to retrieve valid target strings. Use this tool exclusively for informative messaging and human-in-the-loop updates. Do NOT use this tool to monitor market prices or set execution triggers (use alert_manager instead).
ERRORS: Unauthenticated calls, unverified/foreign destinations, empty messages, or exhausted quotas return an explicit 'isError: true' payload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional headline used as Discord embed title or Telegram bold subject line. | |
| target | Yes | Verified delivery route (e.g. 'tg_user:12345678', 'out_wh:discord_vip') retrieved via `user_account.list_destinations`. | |
| message | Yes | Notification content. HTML tags supported for Telegram: <b>, <i>, <code>, <pre>. |