excel_to_table
Import an Excel file as a table in the current document. Specify file path, sheet name, and maximum rows to control the import scope.
Instructions
Import an Excel file as a table in the current document. Requires openpyxl package.
Args: excel_path: Path to the Excel file (.xlsx) sheet_name: Name of the sheet to import (default: active sheet) max_rows: Maximum rows to import (default 100)
Returns: Success 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": {
"excel_path": "<excel_path>"
},
"name": "excel_to_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_rows | No | ||
| excel_path | Yes | ||
| sheet_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |