read_excel
Extract contents from Excel (XLSX) files. Specify a sheet name to read a particular sheet, or use the active sheet by default.
Instructions
Read an Excel file and return its contents. Requires openpyxl package.
Args: file_path: Path to the Excel file (.xlsx) sheet_name: Name of the sheet to read (default: active sheet)
Returns: Excel contents as formatted text or error message
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_path": "<file_path>"
},
"name": "read_excel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| sheet_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |