AI Tools
Analysez le sentiment des textes et le ton émotionnel avec ventilation détaillée des émotions positives, négatives et neutres
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/api/tools/text-sentiment-analyzer' \
-H 'Content-Type: application/json' \
-d '{"text":"Enter the text you want to analyze for sentiment and emotions...","analysisDepth":"detailed","emotionType":"general","language":"en","includeSuggestions":true,"includeStatistics":false,"exportFormat":"readable"}'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST https://api.elysiatools.com/fr/api/tools/text-sentiment-analyzer| Nom | Type | Requis | Description |
|---|---|---|---|
| text | textarea | Oui | Enter any text - reviews, comments, messages, articles, or personal writing for sentiment analysis |
| analysisDepth | select | Oui | Choose the depth of sentiment analysis |
| emotionType | select | Oui | Select the type of emotions to focus on in the analysis |
| language | select | Oui | Select the language of the text being analyzed |
| includeSuggestions | checkbox |
Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-text-sentiment-analyzer": {
"name": "text-sentiment-analyzer",
"description": "Analysez le sentiment des textes et le ton émotionnel avec ventilation détaillée des émotions positives, négatives et neutres",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=text-sentiment-analyzer",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "text-sentiment-analyzer",
"arguments": {
"text": "Enter the text you want to analyze for sentiment and emotions...",
"analysisDepth": "detailed",
"emotionType": "general",
"language": "en",
"includeSuggestions": true,
"includeStatistics": false,
"exportFormat": "readable"
}
}
}| Non |
| Include suggestions for better emotional understanding and communication |
| includeStatistics | checkbox | Non | Include emotion statistics, percentages, and data visualization |
| exportFormat | select | Non | Choose the format for the analysis output |
Résultat flux
data: {"chunk": "data: processed content 1", "type": "stream"}
data: {"chunk": "data: processed content 2", "type": "stream"}
data: {"type": "done"}Des questions ou un problème ? Contactez [email protected]