4-7-8 呼吸练习
练习4-7-8呼吸技巧:吸气4秒,屏住呼吸7秒,呼气8秒。神经系统的天然镇静剂。
API 文档
请求端点
POST /zh/api/tools/breathing-4-7-8
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| cycles | number | 否 | Number of complete 4-7-8 breathing cycles to practice |
| inhaleSeconds | number | 否 | 吸气阶段时长(默认:4秒) |
| holdSeconds | number | 否 | 屏息阶段时长(默认:7秒) |
| exhaleSeconds | number | 否 | 呼气阶段时长(默认:8秒) |
| soundEnabled | checkbox | 否 | Enable audio cues for each breathing phase |
响应格式
{
"result": "Initial display content",
"interactive": true,
"components": [
{
"type": "timer",
"id": "timer1",
"config": {
"label": "Countdown",
"duration": 60
}
}
],
"state": {
"key": "value"
},
"actions": [
{
"type": "start",
"id": "start-btn",
"label": "Start"
}
],
"styles": "/* Custom CSS */",
"scripts": "/* Client-side scripts */",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
交互式组件:
交互式组件
AI MCP 文档
将此工具添加到您的 MCP 服务器配置中:
{
"mcpServers": {
"elysiatools-breathing-4-7-8": {
"name": "breathing-4-7-8",
"description": "练习4-7-8呼吸技巧:吸气4秒,屏住呼吸7秒,呼气8秒。神经系统的天然镇静剂。",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=breathing-4-7-8",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。
如果遇见问题,请联系我们:[email protected]