Get Excel File Information
office_get_excel_infoList all sheet names and their row and column counts in an Excel file. Provide the file path to retrieve this information.
Instructions
Get information about an Excel file, including all sheet names and dimensions.
Args:
filePath (string): Path to the Excel file
Returns: { "sheets": [ { "name": string, "rowCount": number, "columnCount": number } ] }
Examples:
Use when: "What sheets are in this Excel file?"
Use when: "How big is the data in report.xlsx?"
Use when: "List all sheets in the workbook"
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": "office_get_excel_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the Excel file |