analyze_text_emotion
Identify emotions in text—Joy, Sadness, Anger, Fear, Surprise, Disgust, Neutral—to adapt tone and understand user sentiment.
Instructions
Locally run a deep learning classification pipeline to detect semantic emotional markers (Joy, Sadness, Anger, Fear, Surprise, Disgust, Neutral) inside a block of text. Use this to adapt your tone or better understand user sentiment.
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": "analyze_text_emotion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |