Math & Numbers
按无限边坡法计算土质边坡稳定安全系数 FS = c'/(γ·z·cosβ·sinβ) + tanφ'/tanβ。支持干燥坡体与平行坡面渗流(水位与坡面平齐)两种工况,自动给出 FS 与稳定/临界/不稳定判断。
用三种语言从你的代码中调用此工具。
curl -X POST 'https://api.elysiatools.com/zh/api/tools/slope-stability-calculator' \
-H 'Content-Type: application/json' \
-d '{"mode":"dry","c":10,"phi":25,"beta":30,"z":3,"gamma":18,"gammaSat":0,"gammaW":9.81,"decimalPlaces":4}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST https://api.elysiatools.com/zh/api/tools/slope-stability-calculator| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| mode | select | 否 | — |
| c | number | 是 | Effective cohesion c'. Use 0 for clean cohesionless soil. |
| phi | number | 是 | 0 ≤ φ' < 90. |
| beta | number | 是 | 0 < β < 90. Slope angle from horizontal. |
| z | number | 是 | Vertical depth of the slip surface below the slope face. |
| gamma |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-slope-stability-calculator": {
"name": "slope-stability-calculator",
"description": "按无限边坡法计算土质边坡稳定安全系数 FS = c'/(γ·z·cosβ·sinβ) + tanφ'/tanβ。支持干燥坡体与平行坡面渗流(水位与坡面平齐)两种工况,自动给出 FS 与稳定/临界/不稳定判断。",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=slope-stability-calculator",
"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": "slope-stability-calculator",
"arguments": {
"mode": "dry",
"c": 10,
"phi": 25,
"beta": 30,
"z": 3,
"gamma": 18,
"gammaSat": 0,
"gammaW": 9.81,
"decimalPlaces": 4
}
}
}有问题或反馈?请联系 [email protected]
| number |
| 是 |
| Dry mode: total unit weight. Parallel mode: this is overridden by γ_sat. |
| gammaSat | number | 否 | Required for seepage-parallel mode. |
| gammaW | number | 否 | Used in seepage-parallel mode. Default 9.81 kN/m³. |
| decimalPlaces | number | 否 | — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}