Excel to JSON
excel_to_jsonConvert an .xlsx spreadsheet into JSON by using the first row as keys and each later row as an object, so you can load tabular data into code. Returns the saved path without changing the input.
Instructions
Convert an .xlsx to JSON: the first row becomes the keys and each later row one object. Use this to load spreadsheet data into code. Returns the saved path; the input is not changed.
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": {
"file": "<file>"
},
"name": "excel_to_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the file (absolute, or relative to the working directory). | |
| output | No | Where to save the result. Defaults to a new file next to the input. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | Anything the output does not carry over from the input. | |
| summary | Yes | One line describing the result. | |
| written | Yes | Paths of the files written, in order. |