Analysez le sentiment des textes et le ton émotionnel avec ventilation détaillée des émotions positives, négatives et neutres
stream· Résultat flux
Démarrage rapide
Appelez cet outil depuis votre code en trois langages.
cURL
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"}'
Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
tools/call
{
"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"
}
}
}
Chaînez plusieurs outils dans une session avec une liste toolId séparée par des virgules, ex. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (20 max).