Health
由气体代谢测量的 V̇CO₂ 与 V̇O₂ 计算呼吸交换率 RER = V̇CO₂/V̇O₂。稳态下 RER≈细胞呼吸商:≈0.70 提示以脂肪氧化为主,≈0.80 为混合饮食典型值,≈1.00 提示以糖氧化为主;剧烈运动时 RER 可超过 1.0(乳酸被碳酸氢盐缓冲及过度通气释放额外 CO₂),RER≥1.10 是递增负荷测试达到最大努力的常用次级标准。可按静息或运动情境分别判读。来源:StatPearls 呼吸商、West 呼吸生理学、ACSM 指南。不构成医疗建议。
用三种语言从你的代码中调用此工具。
curl -X POST 'http://127.0.0.1:3003/zh/api/tools/respiratory-exchange-ratio' \
-H 'Content-Type: application/json' \
-d '{"vco2":200,"vo2":250,"context":"rest","decimalPlaces":2}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST http://127.0.0.1:3003/zh/api/tools/respiratory-exchange-ratio| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| vco2 | number | 是 | Carbon dioxide production (mL/min, STPD) from indirect calorimetry. |
| vo2 | number | 是 | Oxygen uptake (mL/min, STPD) from indirect calorimetry. |
| context | select | 否 | Whether the gas volumes were collected at rest or during an exercise test. |
| decimalPlaces | number | 否 | — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-respiratory-exchange-ratio": {
"name": "respiratory-exchange-ratio",
"description": "由气体代谢测量的 V̇CO₂ 与 V̇O₂ 计算呼吸交换率 RER = V̇CO₂/V̇O₂。稳态下 RER≈细胞呼吸商:≈0.70 提示以脂肪氧化为主,≈0.80 为混合饮食典型值,≈1.00 提示以糖氧化为主;剧烈运动时 RER 可超过 1.0(乳酸被碳酸氢盐缓冲及过度通气释放额外 CO₂),RER≥1.10 是递增负荷测试达到最大努力的常用次级标准。可按静息或运动情境分别判读。来源:StatPearls 呼吸商、West 呼吸生理学、ACSM 指南。不构成医疗建议。",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=respiratory-exchange-ratio",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}连接到 SSE 端点后,列出已开放的工具:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}通过工具 id 调用,参数由其参数表构建:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "respiratory-exchange-ratio",
"arguments": {
"vco2": 200,
"vo2": 250,
"context": "rest",
"decimalPlaces": 2
}
}
}有问题或反馈?请联系 [email protected]