alert_create
Create a server-side price alert for a TradingView symbol when its price crosses, exceeds, or falls below a set level.
Instructions
Open the TradingView alert configuration dialog and create a server-side price alert. WHEN TO USE: Call when setting conditional triggers on price levels (crossing, greater_than, less_than). SIDE EFFECTS: STATE_MUTATING (Creates an active alert in user account). LIMITATIONS: Requires market symbol to be active.
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": {
"condition": "<condition>",
"price": "<price>"
},
"name": "alert_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | Price level for the alert | |
| message | No | Alert message | |
| condition | Yes | Alert condition (e.g., "crossing", "greater_than", "less_than") |