Health
计算肺泡气氧分压 PAO₂ = FiO₂ × (P_atm − 47) − PaCO₂ / RQ。P_atm 默认 760 mmHg(海平面),可按海拔调整;P_H₂O = 47 mmHg;RQ 呼吸商默认 0.8(混合饮食)。聚焦 PAO₂ 本身并给出与海平面室内空气预期值 ~100 mmHg 的方向性提示。完整的 A-a gradient 判读(含 V/Q 失衡/分流等鉴别)请用已有的 a-a-gradient-calculator 工具。来源:StatPearls NBK545153、LITFL、Cornell PICU、West 呼吸生理学。不构成医疗建议。
用三种语言从你的代码中调用此工具。
curl -X POST 'http://127.0.0.1:3003/zh/api/tools/alveolar-gas-equation' \
-H 'Content-Type: application/json' \
-d '{"paco2":40,"fio2":0.21,"patm":0,"rq":0,"decimalPlaces":1}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST http://127.0.0.1:3003/zh/api/tools/alveolar-gas-equation| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| paco2 | number | 是 | Arterial partial pressure of CO₂ (mmHg) from ABG. |
| fio2 | number | 是 | Inspired oxygen fraction (0.21 = room air). Range 0.15–1.0. |
| patm | number | 否 | Atmospheric pressure (mmHg). Default 760 at sea level. Lower at altitude (e.g. Denver ~630). |
| rq | number | 否 | Respiratory quotient. Default 0.8 (mixed diet); 1.0 pure carbohydrate; ~0.7 high fat/protein. |
| decimalPlaces | number | 否 |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-alveolar-gas-equation": {
"name": "alveolar-gas-equation",
"description": "计算肺泡气氧分压 PAO₂ = FiO₂ × (P_atm − 47) − PaCO₂ / RQ。P_atm 默认 760 mmHg(海平面),可按海拔调整;P_H₂O = 47 mmHg;RQ 呼吸商默认 0.8(混合饮食)。聚焦 PAO₂ 本身并给出与海平面室内空气预期值 ~100 mmHg 的方向性提示。完整的 A-a gradient 判读(含 V/Q 失衡/分流等鉴别)请用已有的 a-a-gradient-calculator 工具。来源:StatPearls NBK545153、LITFL、Cornell PICU、West 呼吸生理学。不构成医疗建议。",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=alveolar-gas-equation",
"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": "alveolar-gas-equation",
"arguments": {
"paco2": 40,
"fio2": 0.21,
"patm": 0,
"rq": 0,
"decimalPlaces": 1
}
}
}有问题或反馈?请联系 [email protected]
| — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}