alert_prepare
Build and validate a native price, strategy, or indicator alert from current TradingView chart state without creating it. Returns hashes and inspectable routing metadata.
Instructions
Build and validate a native price, strategy or indicator alert from current chart state without creating it. Returns hashes and inspectable routing metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| active | No | ||
| symbol | No | ||
| message | No | ||
| condition | Yes | ||
| target_id | No | Exact Chrome tab target ID from browser_list_tabs. Required for changes. | |
| resolution | No | ||
| webhook_url | No | ||
| notifications | No | ||
| message_format | No | text | |
| expiration_days | No | ||
| idempotency_key | Yes | ||
| expected_layout_id | No | Expected saved-layout ID. A mismatch stops the operation before writing. |