Alerts Edit
alerts_editPartial update of one of the user's alerts. Only the fields you pass are modified; pass alert_id to identify which one (get it from alerts_list). Use is_active=false to pause an alert without deleting it. address replaces the alert's wallet condition (one per alert; same rules as alerts_create); address='' removes it; address_role alone moves the existing address to that side. The fields mean what they mean in alerts_create, and a Hyperliquid alert (its type cannot change) is re-validated whole after the edit: '' or [] clears an optional field such as token_symbol or pnl_cohorts, and a field its type does not use is an error. channels replaces the list (email or webhook; Discord is off); [] leaves a Hyperliquid or Polymarket alert feed-only, read with alerts_events.
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": {
"alert_id": "<alert_id>"
},
"name": "alerts_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| band | No | hl_cohort_bias and hl_liq_proximity: hysteresis, greater than 0 (default 0.1). A bias alert fires when the index reaches threshold + band (up) or threshold - band (down); a proximity alert fires when the ratio reaches threshold and re-arms below threshold - band. | |
| mode | No | hl_liquidation and cex_liquidation: single (default) = one alert per liquidation of at least min_value_usd; sum = a BURST: one alert per coin when the liquidations of `window` add up to min_value_usd, then none for that coin until the burst has ended (no window reached it for 5 minutes, or for `window` if longer). A burst alert carries the total, the long and short USD, the count, the largest liquidation and the window's start and end (cex_liquidation: the split per exchange too). | |
| side | No | hl_wallet_orders: buy or sell orders only. hl_liquidation and cex_liquidation: long or short liquidations only (the liquidated position). hl_oi_change (with a `cohort`) and hl_liq_cluster: the long or the short positions only. Leave out for both. | |
| chain | No | ||
| index | No | hl_cohort_bias only, required: the index watched for token_symbol. smi = long share of smart wallets minus long share of rekt wallets; wsi = long share of whales minus long share of shrimp; smart_bias / whale_bias = (long - short) / (long + short) of that cohort; smi_wsi_gap = smi - wsi. Ratios run -1..1 (smi_wsi_gap -2..2). | |
| label | No | ||
| cohort | No | hl_oi_change and hl_liq_cluster: only these wallets' positions: whales (a whale account-size rung), smart (a smart realised-PnL rung; a smart whale is both), others (neither), hlp (HLP and its vaults). Leave out for every position. | |
| events | No | hl_wallet_orders only: placed = a new order appeared in the book, gone = an order left it (its outcome filled, partially_filled or canceled comes from the order's own fills). Default both. Each check's orders arrive together, as one event. | |
| wallet | No | One 0x + 40-hex address. Hyperliquid: the account to watch, required for hl_wallet, hl_wallet_orders and hl_liq_proximity, optional for hl_liquidation. Polymarket: the proxy wallet (the address of its vike.io/polymarket/wallet page and of polymarket_tape rows), required for pm_wallet_trade. | |
| window | No | mode sum: the burst's window, 30s to 60m (e.g. 30s, 2m, 15m; default 5m). cex_oi_change and hl_oi_change: the period of the change, 1h, 4h, 24h (default 1h). | |
| actions | No | hl_wallet only: which fills notify. Default: open, close, flip, increase ('add' is accepted for increase); reduce is opt-in. | |
| address | No | 0x + 40-hex EVM address; '' removes the wallet condition. | |
| alert_id | Yes | The alert ID (from alerts_list). | |
| channels | No | ||
| direction | No | hl_cohort_bias: which crossings notify. pm_price_move: which moves of the market's first outcome (Yes on a yes/no market) notify. Default both. cex_funding: up = alert when funding rises to `threshold` or above, down = when it falls to it or below (default up; both is refused). cex_oi_change and hl_oi_change: up = open interest grew, down = it shrank, both = either (default both). | |
| exchanges | No | CEX perpetual alerts only: the exchanges to watch, lower-case (binance, bybit, okx ...). Leave out for every exchange we track. cex_funding: alerts per exchange; cex_funding_arb and cex_spread compare exchanges, so two or more (the gap or spread between the best two of them); cex_liquidation: aster, binance, bybit, okx (Deribit's liquidations arrive about 2 hours late); cex_oi_change: the open interest of these exchanges summed. | |
| is_active | No | ||
| threshold | No | hl_cohort_bias: the index level to cross (default 0). hl_liq_proximity: the share of the way from entry price to liquidation price, strictly between 0 and 1 (default 0.8). cex_funding (required): the funding level in % a year, negative allowed (0.01% every 8 h = 10.95). cex_funding_arb (required): the gap between the highest and the lowest funding, in % a year, above 0. cex_spread (required): the price spread in %, above 0 and at most 8 (0.5 = 50 bps). cex_oi_change (required) and hl_oi_change: the change of the open interest over `window`, in %, above 0. hl_liq_cluster (required): the farthest the cluster may be from the price, in % (above 0, at most 12). | |
| change_usd | No | hl_oi_change: the change of the open interest in USD (at least 10,000), e.g. 50000000 with cohort whales, side short and window 1h = whales added $50M of shorts within an hour. With `threshold` too, both must be met. | |
| min_amount | No | Whole tokens of token_symbol; '' or 0 removes the amount floor. | |
| pnl_cohorts | No | hl_cohort_fill and hl_liquidation: only wallets in these realised-PnL cohorts (the ladder runs from '3x smart' = top 1% to '3x rekt' = bottom 5%). hl_cohort_fill REQUIRES at least one PnL or size cohort; for hl_liquidation empty = any cohort. | |
| address_role | No | ||
| condition_id | No | Polymarket only: the market, its 0x + 64-hex condition id. Required for pm_market_trade, pm_price_move and pm_resolution; optional for pm_wallet_trade (one market of that wallet). | |
| hold_minutes | No | cex_spread only: the spread must stay at or above `threshold` this many minutes before the alert fires, so a one-minute spike does not (default 5, 0 = at once, at most 1440). | |
| size_cohorts | No | hl_cohort_fill and hl_liquidation: only wallets in these account-size cohorts (the ladder runs from '4x whale' = $10M+ to 'shrimp' = under $1k). hl_cohort_fill REQUIRES at least one PnL or size cohort; for hl_liquidation empty = any size. | |
| token_symbol | No | ||
| max_value_usd | No | ||
| min_value_usd | No | ||
| cooldown_minutes | No | ||
| max_triggers_day | No | Your own daily cap: at most this many notifications of this alert per UTC day (1 to 10,000), e-mail and webhook alike, counted per event (a wallet-orders check is one); every event past it still reaches the feed (alerts_events). Without it a token-wide transfer alert sends at most 10 a day, any other alert's webhook gets every event and its e-mail stops after its 10th event of the day. In alerts_edit, '' or 0 removes it. |