tv_list_alerts
List TradingView alerts with machine-readable firing conditions, symbols, and active status. Supports filtering by symbol and layout, returning up to 200 alerts in newest-first order.
Instructions
List the account's TradingView alerts with their machine-readable firing condition. Read-only. Returns at most 200 projected rows in the same order as the TradingView alert panel (newest first), each with panel_pos = its 1-based row on the full unfiltered list, plus id, symbol, resolution, name, description (the string the UI shows), type, complexity, active, expiration, conditionType, condition, hasWebhook, webhookUrl, message. Refer to an alert by name + symbol, never by position alone. In list mode the description is capped at 400 chars, message at 200, and study inputs / plotOffsets maps with more than 20 entries are collapsed to a count - use tv_get_alert for the full detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | No | chart layout id, target id, or 0-based index; default = the chart tab that is actually painting | |
| symbol | No | case-insensitive substring filter on the alert symbol, e.g. "BTC" or "BYBIT:ETHUSDT.P" | |
| active_only | No | only return alerts that are currently running | |
| expect_layout | No | layout id the tab is expected to show right now; the call refuses if it differs (a tab keeps its target id when the user opens another layout in it) |