Utilities
粘贴账单行项即可解码:客户费/需量费/峰谷电价/输配 rider/可再生能源基金/解耦 rider/容量标签等归类解释,kWh↔Btu↔therm↔Ccf↔m³↔冷吨时 EIA 标准换算,隐藏固定费与年度化测算,负荷率与削峰省钱建议。
用三种语言从你的代码中调用此工具。
curl -X POST 'http://127.0.0.1:3003/zh/api/tools/csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer' \
-H 'Content-Type: application/json' \
-d '{"billLines":"Customer Charge; 14.75; 1; $/mo\nOff-Peak Energy Charge; 79.17; 2100; kWh @ 0.0377\nOn-Peak Energy Charge; 245.10; 1140; kWh @ 0.215\nDemand Charge; 285.20; 12.4; kW @ 23.00\nTransmission Service Rider; 25.92; 3240; kWh\nRenewable Portfolio Standard (RPS); 8.10; 3240; kWh\nDecoupling Rider; 4.60; 1; $/mo\nGrid Access Charge; 2.50; 1; $/mo\nMunicipal Franchise Fee; 20.15; 1; 6.5% of base\nState Sales Tax; 11.83; 1; 1.9%","serviceType":"electric","billingDays":30,"usageKwh":3240,"demandKw":12.4,"onPeakKwh":1140,"offPeakKwh":2100,"gasUsageCcf":0,"waterUsageCcf":0,"taxRatePct":0}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST http://127.0.0.1:3003/zh/api/tools/csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| billLines | textarea | 是 | — |
| serviceType | select | 否 | — |
| billingDays | number | 否 | — |
| usageKwh | number | 否 | — |
| demandKw | number | 否 | — |
| onPeakKwh | number | 否 | — |
| offPeakKwh | number | 否 | — |
| gasUsageCcf | number | 否 | — |
| waterUsageCcf | number | 否 | — |
| taxRatePct | number | 否 | — |
HTML 结果
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer": {
"name": "csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer",
"description": "粘贴账单行项即可解码:客户费/需量费/峰谷电价/输配 rider/可再生能源基金/解耦 rider/容量标签等归类解释,kWh↔Btu↔therm↔Ccf↔m³↔冷吨时 EIA 标准换算,隐藏固定费与年度化测算,负荷率与削峰省钱建议。",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer",
"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": "csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer",
"arguments": {
"billLines": "Customer Charge; 14.75; 1; $/mo\nOff-Peak Energy Charge; 79.17; 2100; kWh @ 0.0377\nOn-Peak Energy Charge; 245.10; 1140; kWh @ 0.215\nDemand Charge; 285.20; 12.4; kW @ 23.00\nTransmission Service Rider; 25.92; 3240; kWh\nRenewable Portfolio Standard (RPS); 8.10; 3240; kWh\nDecoupling Rider; 4.60; 1; $/mo\nGrid Access Charge; 2.50; 1; $/mo\nMunicipal Franchise Fee; 20.15; 1; 6.5% of base\nState Sales Tax; 11.83; 1; 1.9%",
"serviceType": "electric",
"billingDays": 30,
"usageKwh": 3240,
"demandKw": 12.4,
"onPeakKwh": 1140,
"offPeakKwh": 2100,
"gasUsageCcf": 0,
"waterUsageCcf": 0,
"taxRatePct": 0
}
}
}有问题或反馈?请联系 [email protected]