Education
Beer-Lambert 定律 A = ε·c·l 四量互求:由其余三个量求解吸光度 A、摩尔消光系数 ε(M⁻¹cm⁻¹)、浓度(M/mM/µM/nM)或光程(cm/mm)。内置经典锚点 NADH ε₃₄₀ = 6220 M⁻¹cm⁻¹(100 µM 于 1 cm 比色杯 → A = 0.622),是酶活性测定的基础。
用三种语言从你的代码中调用此工具。
curl -X POST 'http://127.0.0.1:3003/zh/api/tools/molar-extinction-coefficient' \
-H 'Content-Type: application/json' \
-d '{"solveFor":"absorbance","absorbance":0,"extinctionCoeff":6220,"concentration":100,"concUnit":"uM","pathLength":1,"lengthUnit":"cm","decimalPlaces":4}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST http://127.0.0.1:3003/zh/api/tools/molar-extinction-coefficient| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| solveFor | select | 是 | Which quantity to compute; the other three must be provided. |
| absorbance | number | 否 | Measured absorbance (required unless solving for A). |
| extinctionCoeff | number | 否 | Molar extinction coefficient in M⁻¹cm⁻¹ (required unless solving for ε). |
| concentration | number | 否 | Concentration in the selected unit (required unless solving for c). |
| concUnit | select | 是 |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-molar-extinction-coefficient": {
"name": "molar-extinction-coefficient",
"description": "Beer-Lambert 定律 A = ε·c·l 四量互求:由其余三个量求解吸光度 A、摩尔消光系数 ε(M⁻¹cm⁻¹)、浓度(M/mM/µM/nM)或光程(cm/mm)。内置经典锚点 NADH ε₃₄₀ = 6220 M⁻¹cm⁻¹(100 µM 于 1 cm 比色杯 → A = 0.622),是酶活性测定的基础。",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=molar-extinction-coefficient",
"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": "molar-extinction-coefficient",
"arguments": {
"solveFor": "absorbance",
"absorbance": 0,
"extinctionCoeff": 6220,
"concentration": 100,
"concUnit": "uM",
"pathLength": 1,
"lengthUnit": "cm",
"decimalPlaces": 4
}
}
}有问题或反馈?请联系 [email protected]
| Unit of the entered (or solved) concentration. |
| pathLength | number | 否 | Optical path length in the selected unit (required unless solving for l). |
| lengthUnit | select | 是 | Unit of the entered (or solved) path length. |
| decimalPlaces | number | 否 | — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}