alert_create
Create a TradingView alert directly from price thresholds, strategy order fills, or indicator conditions, with idempotency and configuration verification before applying changes.
Instructions
Create a native alert directly, without requiring a template. Supports price thresholds, attached Pine strategy order fills and discovered indicator alertconditions. Durable idempotency plus independent configuration verification; defaults to requesting paused state.
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": {
"name": "<name>",
"idempotency_key": "<idempotency_key>",
"condition": "<condition>",
"target_id": "<target_id>",
"expected_layout_id": "<expected_layout_id>"
},
"name": "alert_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| active | No | ||
| symbol | No | ||
| message | No | ||
| condition | Yes | ||
| target_id | Yes | 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 | Yes | Expected saved-layout ID. A mismatch stops the operation before writing. |