Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Calculate Workbook
ONE_DRIVE_CALCULATE_WORKBOOKRecalculate formulas in an Excel workbook at the requested depth.
Check In Drive Item
ONE_DRIVE_CHECKIN_ITEMTool to check in a checked out driveItem resource, making the version of the document available to others. Use when you need to check in a file that was previously checked out in OneDrive or SharePoint.
Checkout Drive Item
ONE_DRIVE_CHECKOUT_ITEMTool to check out a driveItem to prevent others from editing it and make your changes invisible until checked in. Use when you need to lock a file for exclusive editing in SharePoint or OneDrive.
Clear Workbook Range
ONE_DRIVE_CLEAR_WORKBOOK_RANGEClears values, formats, or both from a worksheet range in an Excel workbook stored in OneDrive or SharePoint without deleting cells or shifting neighboring data. Use this action when you need to reset a range while preserving the worksheet's cell structure.
Close Workbook Session
ONE_DRIVE_CLOSE_WORKBOOK_SESSIONClose an Excel workbook session without deleting the workbook.
Create Drive Item Permission
ONE_DRIVE_CREATE_ITEM_PERMISSIONTool to create a new permission on a OneDrive drive item. Use when you need to grant application or SharePoint group permissions to a file or folder. This endpoint supports creating application permissions and SharePoint site group permissions only.
Create Sharing Link
ONE_DRIVE_CREATE_LINKTool to create a sharing link for a DriveItem (file or folder) by its unique ID. Use when you need to generate a shareable link for an item in OneDrive or SharePoint.
Delete Drive Item Permission
ONE_DRIVE_DELETE_ITEM_PERMISSIONTool to delete a permission from a drive item. Use when you need to revoke sharing access to a file or folder. Only non-inherited sharing permissions can be deleted.
Delete Shares Permission
ONE_DRIVE_DELETE_SHARE_PERMISSIONTool to delete the permission navigation property for a shared drive item. Use when you need to remove a sharing link permission. This effectively revokes access via the specific share link.
Delete SharePoint Item Permission
ONE_DRIVE_DELETE_SHAREPOINT_ITEM_PERMISSIONRevoke a Microsoft Graph beta permission from a SharePoint list or list item.
Delete Workbook Range
ONE_DRIVE_DELETE_WORKBOOK_RANGEDeletes a range of cells from an Excel worksheet in OneDrive, shifting remaining cells up or left to fill the gap.
Discard Checkout
ONE_DRIVE_DISCARD_CHECKOUTTool to discard the checkout of a driveItem, releasing it and discarding any changes made while checked out. Use when you need to cancel a checkout and revert changes on a file in SharePoint or OneDrive.
Follow Drive Item
ONE_DRIVE_FOLLOW_ITEMTool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking updates.
Format Workbook Range
ONE_DRIVE_FORMAT_WORKBOOK_RANGEApply dimensions, alignment, wrapping, font, fill, and borders to a workbook range. Components are updated sequentially, not atomically, so earlier formatting remains if a later update fails.
Grant Shares Permission
ONE_DRIVE_GRANT_SHARE_PERMISSIONTool to grant users access to a link represented by a permission using an encoded sharing URL. Use when you need to give specific users access to a shared OneDrive or SharePoint resource.
Grant SharePoint Item Permission
ONE_DRIVE_GRANT_SHAREPOINT_ITEM_PERMISSIONGrant an application permission on a SharePoint list or list item using Microsoft Graph beta.
Invite User to Drive Item
ONE_DRIVE_INVITE_USER_TO_ITEMInvite users or grant permissions to a OneDrive file or folder with specified access roles. At least one of sending an invitation or requiring sign-in must be enabled.
Move Item
ONE_DRIVE_MOVE_ITEMTool to move a file or folder to a new parent folder in OneDrive. Use when you need to reorganize your files or folders by changing their location. You can optionally rename the item during the move. If a file with the same name exists at the destination, the API returns `nameAlreadyExists`; use the `name` parameter to provide a unique name or resolve the conflict beforehand.
Create a new text file
ONE_DRIVE_ONEDRIVE_CREATE_TEXT_FILECreates a plain-text file in a user's OneDrive folder, identified by ID or path. The conflict behavior can fail, replace, or rename; content is plain text regardless of filename extension.
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.