组合计算器
计算组合(C(n,r)),支持不同类型:无重复/有重复组合、二项式系数,以及详细的组合分析。
API 文档
请求端点
POST /zh/api/tools/combination-calculator
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| n | number | 是 | - |
| r | number | 是 | - |
| type | select | 是 | - |
| showFormula | checkbox | 否 | - |
| showSteps | checkbox | 否 | - |
| showPascalTriangle | checkbox | 否 | - |
响应格式
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}
JSON数据:
JSON数据
AI MCP 文档
将此工具添加到您的 MCP 服务器配置中:
{
"mcpServers": {
"elysiatools-combination-calculator": {
"name": "combination-calculator",
"description": "计算组合(C(n,r)),支持不同类型:无重复/有重复组合、二项式系数,以及详细的组合分析。",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=combination-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。
如果遇见问题,请联系我们:[email protected]