XLSX 动态报表构建器
编程式构建多级合并表头、分组小计、动态列报表
支持 JSON 数据输入、列分组、分组小计和总计输出。
API 文档
请求端点
POST /zh/api/tools/xlsx-dynamic-report-builder
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| dataJson | textarea | 是 | - |
| groupBy | text | 否 | - |
| fixedColumns | text | 否 | - |
| valueColumns | text | 否 | - |
| headerGroupsJson | textarea | 否 | - |
| includeGrandTotal | checkbox | 否 | - |
| sheetName | text | 否 | - |
响应格式
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}
文件:
文件
AI MCP 文档
将此工具添加到您的 MCP 服务器配置中:
{
"mcpServers": {
"elysiatools-xlsx-dynamic-report-builder": {
"name": "xlsx-dynamic-report-builder",
"description": "编程式构建多级合并表头、分组小计、动态列报表",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=xlsx-dynamic-report-builder",
"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]