basic_sentiment
Basic sentiment analysis using word lists.
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": {
"text": "<text>"
},
"name": "basic_sentiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to analyze |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Input text (truncated to 100 chars if longer) | |
| score | Yes | Sentiment score (-1 to 1, positive = positive sentiment) | |
| sentiment | Yes | Overall sentiment: positive, negative, or neutral | |
| negative_words | Yes | Negative words found in the text | |
| positive_words | Yes | Positive words found in the text |