Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
List OneDrive items
ONE_DRIVE_ONEDRIVE_LIST_ITEMSLists one page of files and folders at the root of a user's OneDrive without recursively listing subfolders. Pass the returned next-page token back to retrieve further pages; results may include remote-item pointers to shared items in other drives.
Upload file
ONE_DRIVE_ONEDRIVE_UPLOAD_FILEUploads a file to a OneDrive or SharePoint folder using chunked uploads, creating missing destination folders as needed. Name conflicts can be renamed, rejected, or replaced.
Preview Drive Item
ONE_DRIVE_PREVIEW_DRIVE_ITEMGenerates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.
Read Workbook Range
ONE_DRIVE_READ_WORKBOOK_RANGEReads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').
Restore Deleted Item
ONE_DRIVE_RESTORE_DRIVE_ITEMTool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.
Restore Item Version
ONE_DRIVE_RESTORE_ITEM_VERSIONRestores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.
Revoke Sharing Link Grants
ONE_DRIVE_REVOKE_SHARING_LINK_GRANTSRemove selected recipients from a work or school specific-user sharing link.
Search Drive Items
ONE_DRIVE_SEARCH_DRIVE_ITEMSSearch OneDrive and accessible SharePoint files with Microsoft Graph Search. This does not produce a complete shared-with-me list; use deprecated ONE_DRIVE_GET_SHARED_ITEMS only when full shared-with-me enumeration is required before Microsoft removes that API in November 2026. Requires OneDrive permissions plus Sites.Read.All because SharePoint-backed files can appear in results.
Search Items
ONE_DRIVE_SEARCH_ITEMSSearch OneDrive files and folders by keyword, with sorting and pagination. The action transforms certain KQL-like and path queries and removes wildcards; results may include files and folders, and recently changed items may be delayed by indexing.
Search SharePoint Sites
ONE_DRIVE_SEARCH_SHAREPOINT_SITESSearch SharePoint sites visible to an organizational Microsoft account.
Track Folder Changes
ONE_DRIVE_TRACK_FOLDER_CHANGESTrack changes beneath one folder, one Microsoft Graph delta page at a time.
Delete Drive Following
ONE_DRIVE_UNFOLLOW_ITEMTool to unfollow a driveItem by removing it from the user's followed items collection. Use when you need to stop following a file or folder that was previously marked to follow.
Update Drive Item Metadata
ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATATool to update the metadata of a specific item (file or folder) in OneDrive. Use this to rename items, change descriptions, or move items to a new parent folder.
Update Drive Item Permissions
ONE_DRIVE_UPDATE_DRIVE_ITEMS_PERMISSIONSTool to update the roles of an existing permission on a OneDrive drive item. Use when you need to change the access level (read, write, owner) for a specific permission on a file or folder.
Update File Content
ONE_DRIVE_UPDATE_FILE_CONTENTTool to update an existing file's content in OneDrive. When called without a `file` parameter, creates an upload session and returns its uploadUrl (legacy behavior — caller drives the PUT uploads). When called with a `file`, the action streams the file's bytes in chunks via the upload session and returns the final updated DriveItem. The item's ID is preserved (existing share links remain valid) unless conflict_behavior=rename causes the server to create a new item.
Update SharePoint Item Permission
ONE_DRIVE_UPDATE_SHAREPOINT_ITEM_PERMISSIONUpdate an application permission on a SharePoint list or list item using Microsoft Graph beta.
Update SharePoint List Item Fields
ONE_DRIVE_UPDATE_SHAREPOINT_LIST_ITEM_FIELDSUpdate field values on a SharePoint list item using Microsoft Graph through the OneDrive connection. Use when you need to modify one or more columns on an existing SharePoint list item.
Update Table Column Range
ONE_DRIVE_UPDATE_TABLE_COLUMN_RANGEUpdate values, formulas, number formats, or row and column visibility in a table column's whole or data-body range.
Update Workbook Range
ONE_DRIVE_UPDATE_WORKBOOK_RANGEUpdates a range in a workbook worksheet using Microsoft Graph API. Use this action when you need to write data, formulas, or number formats to specific cells in an Excel workbook stored in OneDrive or SharePoint. The address parameter supports various formats including single cells, cell ranges, entire columns, or entire rows.
Update Workbook Worksheet
ONE_DRIVE_UPDATE_WORKBOOK_WORKSHEETUpdates properties of a worksheet in an Excel workbook stored in OneDrive. Use this action when you need to rename a worksheet, change its position (tab order), or modify its visibility state. At least one of name, position, or visibility must be provided in the request. The worksheet is identified by its ID or display name within the specified workbook.