Create a price alert
create_price_alertCreates a price alert that fires when the price goes above or below the threshold. Sent without preview_id, it changes nothing and returns a preview of the change with a preview_id; sent again with the same arguments and that preview_id, it makes the change.
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": {
"market": "<market>",
"ticker": "<ticker>",
"direction": "<direction>",
"threshold": "<threshold>"
},
"name": "create_price_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| market | Yes | hk = Hong Kong, us = United States, cn = China A-shares. | |
| ticker | Yes | For example 0700.HK or 700 (hk), AAPL (us), 600519.SS or 600519 (cn). | |
| direction | Yes | ||
| threshold | Yes | The price. | |
| preview_id | No | The preview_id that the same call without it returned. Without it, nothing is changed. |