data_excel_json
Convert data between Excel/CSV and JSON: read xlsx/csv files to JSON, or write JSON arrays to xlsx files.
Instructions
Excel/CSV ↔ JSON 转换。json_to_excel:JSON 数组写入 xlsx 文件(需 output_path);excel_to_json:读取 xlsx/csv 文件输出 JSON
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": {
"data": "<data>",
"direction": "<direction>"
},
"name": "data_excel_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON 字符串(json_to_excel)或文件路径(excel_to_json) | |
| direction | Yes | ||
| output_path | No | json_to_excel 的输出 .xlsx 文件路径 |