Format Conversion
Freeze top rows/left columns automatically and apply row or column outline groups for easier spreadsheet reading
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/xlsx-freeze-pane-manager' \
-F 'file=@/path/to/workbookFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/xlsx-freeze-pane-manager' \
-F 'workbookFile=/public/samples/xlsx/ops-source.xlsx' \
-F 'sheetNames=Sheet1,Sheet2 (blank = all sheets)' \
-F 'freezeRows=1' \
-F 'freezeColumns=0' \
-F 'autoDetectFirstColumn=true' \
-F 'minColumnsForAutoFreeze=8' \
-F 'rowGroupsJson=[
{
"from": 2,
"to": 15,
"level": 1
},
{
"from": 16,
"to": 28,
"level": 1
}
]' \
-F 'columnGroupsJson=[
{
"from": 3,
"to": 8,
"level": 1
}
]' \
-F 'collapseGroups=false' \
-F 'summaryBelow=true' \
-F 'summaryRight=true'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/xlsx-freeze-pane-manager| Name | Type | Required | Description |
|---|---|---|---|
| workbookFile | fileupload required | Yes | — |
| sheetNames | text | No | — |
| freezeRows | number | No | — |
| freezeColumns | number | No | — |
| autoDetectFirstColumn | checkbox | No | — |
| minColumnsForAutoFreeze | number | No | — |
| rowGroupsJson | textarea | No | — |
| columnGroupsJson | textarea | No | — |
| collapseGroups | checkbox | No | — |
| summaryBelow | checkbox | No | — |
| summaryRight | checkbox | No | — |
File result
{
"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)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-xlsx-freeze-pane-manager": {
"name": "xlsx-freeze-pane-manager",
"description": "Freeze top rows/left columns automatically and apply row or column outline groups for easier spreadsheet reading",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=xlsx-freeze-pane-manager",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "xlsx-freeze-pane-manager",
"arguments": {
"workbookFile": "/public/samples/xlsx/ops-source.xlsx",
"sheetNames": "Sheet1,Sheet2 (blank = all sheets)",
"freezeRows": 1,
"freezeColumns": 0,
"autoDetectFirstColumn": true,
"minColumnsForAutoFreeze": 8,
"rowGroupsJson": "[\n {\n \"from\": 2,\n \"to\": 15,\n \"level\": 1\n },\n {\n \"from\": 16,\n \"to\": 28,\n \"level\": 1\n }\n]",
"columnGroupsJson": "[\n {\n \"from\": 3,\n \"to\": 8,\n \"level\": 1\n }\n]",
"collapseGroups": false,
"summaryBelow": true,
"summaryRight": true
}
}
}Questions or issues? Contact [email protected]