Excel Create Table
excel_create_tableConvert a cell range in an Excel worksheet into a structured table, with optional headers, custom table name, and SharePoint site or drive selection.
Instructions
Create a structured table within a range of an Excel worksheet.
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": {
"item_id_or_path": "<item_id_or_path>",
"worksheet_name": "<worksheet_name>",
"address": "<address>"
},
"name": "excel_create_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Cell range for the table (e.g. 'A1:D1' or 'A1:D10'). | |
| site_id | No | Optional SharePoint Site ID. | |
| drive_id | No | Optional SharePoint Drive ID. | |
| table_name | No | Optional custom table name (e.g. 'SalesData'). | |
| has_headers | No | Whether the first row contains column headers (default True). | |
| worksheet_name | Yes | Worksheet name (e.g. 'Sheet1'). | |
| item_id_or_path | Yes | Drive item ID or file path (e.g. '/Reports/Sales.xlsx'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |