Health
Registro de pensamientos CBT de 5 columnas que detecta 10 distorsiones cognitivas y ayuda a reformular pensamientos automáticos.
Llama a esta herramienta desde tu código en tres lenguajes.
curl -X POST 'https://api.elysiatools.com/es/api/tools/cbt-thought-record' \
-H 'Content-Type: application/json' \
-d '{"situation":"My manager asked to speak with me after the meeting.","automaticThought":"They think I did a terrible job. I always mess everything up. I'\''m going to get fired. I should have known better.","emotion":"Anxiety 85%, shame 60%","evidenceFor":"I stumbled over my words twice during the presentation.","evidenceAgainst":"I'\''ve received positive feedback for 3 years. The meeting might be about something else entirely.","balancedThought":"I stumbled, but one presentation doesn'\''t define my work. I'\''ll wait to hear what the meeting is about before assuming the worst."}'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/cbt-thought-record| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| situation | textarea | No | — |
| automaticThought | textarea | No | — |
| emotion | textarea | No | — |
| evidenceFor | textarea | No | — |
| evidenceAgainst | textarea | No | — |
| balancedThought | textarea | No | — |
Resultado HTML
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}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-cbt-thought-record": {
"name": "cbt-thought-record",
"description": "Registro de pensamientos CBT de 5 columnas que detecta 10 distorsiones cognitivas y ayuda a reformular pensamientos automáticos.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=cbt-thought-record",
"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": "cbt-thought-record",
"arguments": {
"situation": "My manager asked to speak with me after the meeting.",
"automaticThought": "They think I did a terrible job. I always mess everything up. I'm going to get fired. I should have known better.",
"emotion": "Anxiety 85%, shame 60%",
"evidenceFor": "I stumbled over my words twice during the presentation.",
"evidenceAgainst": "I've received positive feedback for 3 years. The meeting might be about something else entirely.",
"balancedThought": "I stumbled, but one presentation doesn't define my work. I'll wait to hear what the meeting is about before assuming the worst."
}
}
}¿Dudas o problemas? Contacta con [email protected]