set_price_alert
Set a stock price alert with condition above or below trigger price. Requires confirmation before execution.
Instructions
設定股價提醒,執行前會請使用者確認。條件:above(突破)或 below(跌破)。
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": {
"code": "<code>",
"condition": "<condition>",
"price": "<price>"
},
"name": "set_price_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 股票代號,例如 2330 | |
| market | No | TW 或 US,預設 TW | |
| name | No | 股票名稱(選填) | |
| condition | Yes | above 或 below | |
| price | Yes | 觸發價格 |