convert_spreadsheet
Convert spreadsheet files between XLSX, XLS, ODS, CSV, TSV, JSON, and HTML while preserving formulas, styles, and multiple worksheets.
Instructions
电子表格转换:XLSX/XLS/ODS/CSV/TSV/JSON/HTML,保留公式、样式与多工作表。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input_path": "<input_path>",
"output_format": "<output_format>"
},
"name": "convert_spreadsheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| input_path | Yes | 输入文件绝对路径 | |
| output_path | No | 输出文件路径(可选) | |
| output_format | Yes | 目标格式:xlsx/xls/csv/tsv/json/html/ods |