AI Tools
Analiza el sentimiento del texto y el tono emocional con desglose detallado de emociones positivas, negativas y neutrales
Llama a esta herramienta desde tu código en tres lenguajes.
curl -X POST 'https://api.elysiatools.com/es/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"}'Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.
POST https://api.elysiatools.com/es/api/tools/text-sentiment-analyzer| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| text | textarea | Sí | Enter any text - reviews, comments, messages, articles, or personal writing for sentiment analysis |
| analysisDepth | select | Sí | Choose the depth of sentiment analysis |
| emotionType | select | Sí | Select the type of emotions to focus on in the analysis |
| language | select | Sí | Select the language of the text being analyzed |
| includeSuggestions | checkbox |
Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.
Añade este bloque a la configuración de tu cliente MCP:
{
"mcpServers": {
"elysiatools-text-sentiment-analyzer": {
"name": "text-sentiment-analyzer",
"description": "Analiza el sentimiento del texto y el tono emocional con desglose detallado de emociones positivas, negativas y neutrales",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=text-sentiment-analyzer",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Tras conectar al endpoint SSE, lista las herramientas expuestas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:
{
"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"
}
}
}| No |
| Include suggestions for better emotional understanding and communication |
| includeStatistics | checkbox | No | Include emotion statistics, percentages, and data visualization |
| exportFormat | select | No | Choose the format for the analysis output |
Resultado de flujo
data: {"chunk": "data: processed content 1", "type": "stream"}
data: {"chunk": "data: processed content 2", "type": "stream"}
data: {"type": "done"}¿Dudas o problemas? Contacta con [email protected]