analyze_sentiment
Analyzes sentiment of a stock symbol using provided reasoning, returning a score (-1 to 1) and label (positive, negative, neutral) for informed decision-making.
Instructions
You are a sentiment analysis tool. Based on the provided rationale, analyze the sentiment for the given stock symbol. Please ensure that your analysis is objective and unbiased.
Return the result in the following formatted output.
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": {
"symbol": "<symbol>",
"reasoning": "<reasoning>",
"sentiment": "<sentiment>",
"score": "<score>"
},
"name": "analyze_sentiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reasoning | Yes | The rationale behind the sentiment analysis | |
| score | Yes | The sentiment score ranging from -1 to 1, where -1 is extremely negative, 1 is extremely positive, and 0 is neutral | |
| sentiment | Yes | The sentiment label, valid values are 'positive', 'negative', or 'neutral' | |
| symbol | Yes | The stock symbol |