analyze_sentiment
Analyze sentiment in social media posts to identify positive, negative, and neutral opinions across multiple platforms.
Instructions
Run sentiment analysis on posts. Provide a query to search timeline data, or pass texts directly. Returns positive/negative/neutral breakdown.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_sentiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query to find posts for sentiment analysis. If omitted, analyzes all timeline data. | |
| platforms | No | Filter by platforms | |
| texts | No | Direct text inputs to analyze (alternative to query) |