Skip to main content
Server path: /microsoft-365-excel | Type: Application | PCID required: Yes

Tools

ToolDescription
microsoft-365-excel_bulk_update_dataUpdate multiple worksheet ranges in a single call using the Microsoft Graph $batch endpoint. Each update targets a range (in A1 notation) on a worksheet and supplies a 2D array of values. Returns a per-range result so partial failures are reported individually.
microsoft-365-excel_create_workbookCreate a new empty Excel workbook in OneDrive root
microsoft-365-excel_create_worksheetCreate a new worksheet in an existing Excel workbook
microsoft-365-excel_delete_workbookDelete an Excel workbook from OneDrive
microsoft-365-excel_delete_worksheetDelete a worksheet from an Excel workbook
microsoft-365-excel_get_workbook_metadataGet metadata about an Excel workbook, optionally including worksheet list
microsoft-365-excel_list_workbooksList Excel workbooks (.xlsx, .xlsm, .xls) in OneDrive. Optionally list from a specific folder.
microsoft-365-excel_list_worksheetsList worksheets in an Excel workbook
microsoft-365-excel_read_worksheet_dataRead cell data from an Excel worksheet. Specify a range (e.g. “A1:D10”) or omit to read the entire used range.
microsoft-365-excel_rename_worksheetRename a worksheet in an Excel workbook
microsoft-365-excel_write_worksheet_dataWrite a 2D array of values to an Excel worksheet range. Calculates the target range automatically from the data dimensions.

microsoft-365-excel_bulk_update_data

Update multiple worksheet ranges in a single call using the Microsoft Graph $batch endpoint. Each update targets a range (in A1 notation) on a worksheet and supplies a 2D array of values. Returns a per-range result so partial failures are reported individually. Parameters:
ParameterTypeRequiredDefaultDescription
workbook_idstringYesThe drive item ID of the Excel workbook
updatesobject[]YesList of range updates to apply.

microsoft-365-excel_create_workbook

Create a new empty Excel workbook in OneDrive root Parameters:
ParameterTypeRequiredDefaultDescription
file_namestringYesName for the new workbook. Extension .xlsx will be added if not present.

microsoft-365-excel_create_worksheet

Create a new worksheet in an existing Excel workbook Parameters:
ParameterTypeRequiredDefaultDescription
workbook_idstringYesThe ID of the Excel workbook
sheet_namestringYesName for the new worksheet

microsoft-365-excel_delete_workbook

Delete an Excel workbook from OneDrive Parameters:
ParameterTypeRequiredDefaultDescription
workbook_idstringYesThe ID of the Excel workbook to delete

microsoft-365-excel_delete_worksheet

Delete a worksheet from an Excel workbook Parameters:
ParameterTypeRequiredDefaultDescription
workbook_idstringYesThe ID of the Excel workbook
sheet_namestringYesName of the worksheet to delete

microsoft-365-excel_get_workbook_metadata

Get metadata about an Excel workbook, optionally including worksheet list Parameters:
ParameterTypeRequiredDefaultDescription
workbook_idstringYesThe ID of the Excel workbook
include_worksheetsbooleanNoInclude the list of worksheets in the response

microsoft-365-excel_list_workbooks

List Excel workbooks (.xlsx, .xlsm, .xls) in OneDrive. Optionally list from a specific folder. Parameters:
ParameterTypeRequiredDefaultDescription
folder_idstringNoOptional folder ID to list workbooks from a specific folder

microsoft-365-excel_list_worksheets

List worksheets in an Excel workbook Parameters:
ParameterTypeRequiredDefaultDescription
workbook_idstringYesThe ID of the Excel workbook

microsoft-365-excel_read_worksheet_data

Read cell data from an Excel worksheet. Specify a range (e.g. “A1:D10”) or omit to read the entire used range. Parameters:
ParameterTypeRequiredDefaultDescription
workbook_idstringYesThe ID of the Excel workbook
sheet_namestringYesName of the worksheet to read from
start_cellstringNoStart cell reference (e.g. “A1”). Omit to read entire used range.
end_cellstringNoEnd cell reference (e.g. “D10”). Required if start_cell is provided.

microsoft-365-excel_rename_worksheet

Rename a worksheet in an Excel workbook Parameters:
ParameterTypeRequiredDefaultDescription
workbook_idstringYesThe ID of the Excel workbook
old_namestringYesCurrent name of the worksheet
new_namestringYesNew name for the worksheet

microsoft-365-excel_write_worksheet_data

Write a 2D array of values to an Excel worksheet range. Calculates the target range automatically from the data dimensions. Parameters:
ParameterTypeRequiredDefaultDescription
workbook_idstringYesThe ID of the Excel workbook
sheet_namestringYesName of the worksheet to write to
dataany[]Yes2D array of values to write (array of rows, each row is an array of cell values)
start_cellstringNoTop-left cell to start writing (default: “A1”)