Health
Дневник мыслей КБТ из 5 колонок, определяющий 10 когнитивных искажений и помогающий переформулировать мысли.
Вызовите этот инструмент из своего кода на трёх языках.
curl -X POST 'https://api.elysiatools.com/ru/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."}'Отправьте POST-запрос с входными данными в JSON. Параметры типа «файл» требуют предварительной загрузки.
POST https://api.elysiatools.com/ru/api/tools/cbt-thought-record| Имя | Тип | Обязательный | Описание |
|---|---|---|---|
| situation | textarea | Нет | — |
| automaticThought | textarea | Нет | — |
| emotion | textarea | Нет | — |
| evidenceFor | textarea | Нет | — |
| evidenceAgainst | textarea | Нет | — |
| balancedThought | textarea | Нет | — |
HTML-результат
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Добавьте этот инструмент на свой сервер Model Context Protocol, чтобы ИИ-агенты могли перечислять и вызывать его.
Добавьте этот блок в конфигурацию вашего MCP-клиента:
{
"mcpServers": {
"elysiatools-cbt-thought-record": {
"name": "cbt-thought-record",
"description": "Дневник мыслей КБТ из 5 колонок, определяющий 10 когнитивных искажений и помогающий переформулировать мысли.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=cbt-thought-record",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}После подключения к SSE-endpoint выведите список доступных инструментов:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Вызовите инструмент по его id; аргументы формируются из его параметров:
{
"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."
}
}
}Вопросы или проблемы? Свяжитесь с [email protected]