ToolBox MCP Server

by xiaoguomeiyitian
Verified

excel_tool

Input Schema

NameRequiredDescriptionDefault
actionYesAction to perform: read, write, or convert_json_to_xlsx
chunkSizeNoChunk size (rows) for streaming
dataNoData to write (required for write action)
filePathYesAbsolute path to the file
formatYesFile format: xlsx, xls, csv
optionsNoAdditional options
streamNoEnable streaming for large files

Input Schema (JSON Schema)

{ "description": "Read and write Excel/CSV files", "name": "excel_tool", "properties": { "action": { "description": "Action to perform: read, write, or convert_json_to_xlsx", "enum": [ "read", "write", "convert_json_to_xlsx" ], "type": "string" }, "chunkSize": { "default": 1000, "description": "Chunk size (rows) for streaming", "type": "number" }, "data": { "description": "Data to write (required for write action)", "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, "filePath": { "description": "Absolute path to the file", "type": "string" }, "format": { "description": "File format: xlsx, xls, csv", "enum": [ "xlsx", "xls", "csv" ], "type": "string" }, "options": { "additionalProperties": true, "description": "Additional options", "properties": { "headerRow": { "description": "Include header row in output", "type": "boolean" }, "sheetName": { "description": "Sheet name for Excel files", "type": "string" } }, "type": "object" }, "stream": { "default": false, "description": "Enable streaming for large files", "type": "boolean" } }, "required": [ "action", "filePath", "format" ], "type": "object" }