/microsoft-excel | Type: Application | PCID required: Yes
Workbook and worksheet operations
Tools
| Tool | Description |
|---|---|
microsoft-excel_create_workbook | Create new Microsoft Excel workbook |
microsoft-excel_create_worksheet | Create new worksheet in Microsoft Excel workbook |
microsoft-excel_list_workbooks | List Microsoft Excel workbooks from the root directory or a specific folder |
microsoft-excel_list_worksheets | List Microsoft Excel worksheets in a workbook |
microsoft-excel_read_data | Read data from Microsoft Excel worksheet |
microsoft-excel_write_data | Write data to Microsoft Excel worksheet |
microsoft-excel_rename_worksheet | Rename worksheet in Microsoft Excel workbook |
microsoft-excel_get_workbook_metadata | Get metadata about workbook including sheets, ranges, etc. |
microsoft-excel_delete_worksheet | Delete worksheet from Microsoft Excel workbook |
microsoft-excel_delete_workbook | Delete a Microsoft Excel workbook |
microsoft-excel_create_workbook
Create new Microsoft Excel workbook Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileName | string | Yes | — | Name of the new workbook file |
microsoft-excel_create_worksheet
Create new worksheet in Microsoft Excel workbook Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workbookId | string | Yes | — | Workbook ID to create the worksheet in |
sheetName | string | Yes | — | Name of the new worksheet |
microsoft-excel_list_workbooks
List Microsoft Excel workbooks from the root directory or a specific folder Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
driveId | string | No | — | Optional drive ID to list workbooks from a specific folder |
microsoft-excel_list_worksheets
List Microsoft Excel worksheets in a workbook Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workbookId | string | Yes | — | Workbook ID to list worksheets from |
microsoft-excel_read_data
Read data from Microsoft Excel worksheet Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workbookId | string | Yes | — | Workbook ID to read data from |
sheetName | string | Yes | — | Worksheet name to read data from |
startCell | string | No | "A1" | Starting cell of the range to read (defaults to “A1”) |
endCell | string | No | — | Ending cell of the range to read (e.g., “B10”) |
microsoft-excel_write_data
Write data to Microsoft Excel worksheet Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workbookId | string | Yes | — | Workbook ID to write data to |
sheetName | string | Yes | — | Worksheet name to write data to |
data | string[][] | Yes | — | Array of rows |
startCell | string | No | "A1" | Starting cell where data will be written (defaults to “A1”) |
microsoft-excel_rename_worksheet
Rename worksheet in Microsoft Excel workbook Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workbookId | string | Yes | — | Workbook ID containing the worksheet to rename |
oldName | string | Yes | — | Current name of the worksheet |
newName | string | Yes | — | New name for the worksheet |
microsoft-excel_get_workbook_metadata
Get metadata about workbook including sheets, ranges, etc. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workbookId | string | Yes | — | Workbook ID to get metadata for |
includeRanges | boolean | No | false | Whether to include named ranges in the metadata |
microsoft-excel_delete_worksheet
Delete worksheet from Microsoft Excel workbook Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workbookId | string | Yes | — | Workbook ID containing the worksheet to delete |
sheetName | string | Yes | — | Name of the worksheet to delete |
microsoft-excel_delete_workbook
Delete a Microsoft Excel workbook Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workbookId | string | Yes | — | ID of the workbook to delete |

