analyze_sentiment
Analyze news sentiment for a stock to determine bullish, bearish, or neutral outlook, returning a sentiment score and summary.
Instructions
分析指定股票的新聞情緒(看漲/看跌/中性),回傳情緒分數與摘要
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": {
"stockName": "<stockName>",
"stockCode": "<stockCode>"
},
"name": "analyze_sentiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stockName | Yes | 股票名稱,例如「台積電」 | |
| stockCode | Yes | 股票代號,例如 2330 |