Sentiment analysis
sentimentScores up to 30 texts as positive, negative, or neutral, returning a -1 to +1 score and an average for reviews, tweets, tickets, or headlines.
Instructions
Fast positive / negative / neutral sentiment for up to 30 texts (5,000 characters in all) at once (reviews, tweets, support tickets, headlines), with a score from -1 (very negative) to +1 (very positive) and an average across all texts. Costs $0.001 per call.
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": {
"texts": "<texts>"
},
"name": "sentiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | Texts to score, up to 30 and 5,000 characters in all, e.g. ["Love it!", "Shipping took forever."]. |