Text Sentiment
text_sentimentSentiment of English text (reviews, posts, headlines): positive/negative/neutral label, compound score -1..1 and word shares, optionally per sentence with the most positive and negative lines. Rule-based, instant.
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": "text_sentiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| per_sentence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |