get_list_of_sheets
Retrieve worksheet names and dimensions from an Excel workbook by filepath, so you can inspect its structure before reading or analyzing data.
Instructions
Get a list of sheets in an Excel workbook. Each line contains a sheet's name and dimensions.
Args: filepath: The path to the Excel workbook. For example, "~/Downloads/test.xlsx" or "C:\myfolder\myfile.xlsx". If only a filename is provided, the file will be searched for in the Desktop and Downloads folders.
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": {
"filepath": "<filepath>"
},
"name": "get_list_of_sheets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |