tv_pause_alerts
Pause TradingView alerts so they stop firing while keeping their definitions intact. Returns per-alert active status to confirm changes and support later resumption.
Instructions
MUTATES: stop (pause) the given alerts via AlertsCollection.stopAlerts - they stay defined but stop firing. Returns per-id { previous_active, current_active } read back from the server, so tv_resume_alerts reverses it. Verified live 2026-09-04 on a price alert.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | alert ids to pause | |
| layout | No | chart layout id, target id, or 0-based index; default = the chart tab that is actually painting | |
| 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) |