- Category: file management & storage
- Auth: OAUTH2, S2S_OAUTH2
- Composio-managed OAuth available? Yes
- Tools: 102
- Triggers: 9
- Slug:
ONE_DRIVE - Version: 20261101_00
Frequently Asked Questions
Tools
Add Workbook Worksheet
Add Workbook Worksheet
ONE_DRIVE_ADD_WORKBOOK_WORKSHEETAdds a new worksheet to an existing Excel workbook in OneDrive or SharePoint. The worksheet is created with the specified name and appended to the end of the workbook’s worksheet collection. Use this action when you need to create a new sheet in an Excel file to organize data, add reports, or separate information into logical sections.Input Parameters
Output
Calculate Workbook
Calculate Workbook
ONE_DRIVE_CALCULATE_WORKBOOKRecalculate formulas in an Excel workbook at the requested depth.Input Parameters
Output
Check In Drive Item
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.Input Parameters
Output
Checkout Drive Item
Checkout Drive Item
Clear Workbook Range
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.Input Parameters
Output
Close Workbook Session
Close Workbook Session
Copy Item
Copy Item
ONE_DRIVE_COPY_ITEMCopies a DriveItem file or folder, optionally renaming it or specifying a destination folder. Copy requests may be asynchronous; a monitor URL is returned when supplied by the service, and an accepted request does not mean the copy is complete.Input Parameters
driveId and id.Output
Create Drive Item Permission
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.Input Parameters
Output
Create Sharing Link
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.Input Parameters
view, edit, embed.anonymous: anyone with the link can use it; choose it only when the user explicitly asks for anonymous or ‘anyone with the link’ access, never by inference. organization: people signed in to the tenant; available only in OneDrive for Business and SharePoint. users: only the people listed in recipients; requires a non-empty recipients list, and is assumed automatically when recipients are provided with no scope. Embed and password-protected links are OneDrive Personal only and support neither organization nor users. Prefer choosing a scope explicitly: if omitted with no recipients, Microsoft Graph applies the tenant’s default sharing-link scope, which may be anonymous. Tenant policy may also block a scope or downgrade the created link to a more restrictive one than requested, so check the scope on the returned link.email, alias, or objectId, e.g. [{‘email’: ‘user@example.com’}]; recipient contents are validated by Microsoft Graph, not by this action.Output
Create Upload Session
Create Upload Session
ONE_DRIVE_CREATE_UPLOAD_SESSIONCreate only a resumable upload session for a named file; this action does not upload bytes. It returns a short-lived preauthenticated uploadUrl for an external fragment uploader. Keep the URL secret and do not send an Authorization header to it.Input Parameters
Output
Create Upload Session By Path
Create Upload Session By Path
ONE_DRIVE_CREATE_UPLOAD_SESSION_BY_PATHCreate only a resumable upload session at a root-relative path; this action does not upload bytes. It returns a short-lived preauthenticated uploadUrl for an external fragment uploader. Keep the URL secret and do not send an Authorization header to it.Input Parameters
Output
Create Workbook Session
Create Workbook Session
Delete Item
Delete Item
ONE_DRIVE_DELETE_ITEMDelete a DriveItem (file or folder) by ID from a specified drive or user’s OneDrive, defaulting to the authenticated user’s drive. The item is moved to the recycle bin rather than permanently deleted; storage quota is not freed until the recycle bin is emptied.Input Parameters
412 Precondition Failed response is returned, and the item won’t be deleted.Output
Permanently Delete Drive Item
Permanently Delete Drive Item
ONE_DRIVE_DELETE_ITEM_PERMANENTLYTool to permanently delete a driveItem by its ID without moving it to the recycle bin. Use when you need to irreversibly remove a file or folder from OneDrive or SharePoint. This action cannot be undone.Input Parameters
Output
Delete Drive Item Permission
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.Input Parameters
Output
Delete Workbook Range
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.Input Parameters
Output
Delete Workbook Worksheet
Delete Workbook Worksheet
ONE_DRIVE_DELETE_WORKBOOK_WORKSHEETDeletes a worksheet from a workbook in OneDrive by its ID or name. Use this action when you need to remove a specific worksheet from an Excel workbook stored in OneDrive or SharePoint. This action is irreversible — the worksheet cannot be recovered once deleted. Note that deleting the last visible worksheet in a workbook may result in an error.Input Parameters
Output
Discard Checkout
Discard Checkout
Download a file
Download a file
ONE_DRIVE_DOWNLOAD_FILEDownloads a file from a user’s OneDrive using its item ID, which must refer to a file and not a folder. Response contains a content object with the downloaded file, MIME type, and name; raw file data is not returned directly. Parsing content from Excel, Word, PDF, or other formats requires additional tooling. The downloaded file can be passed to downstream tools such as OUTLOOK_SEND_EMAIL or OUTLOOK_CREATE_DRAFT.Input Parameters
Output
Download file by path
Download file by path
ONE_DRIVE_DOWNLOAD_FILE_BY_PATHDownloads the contents of a file from OneDrive by its path. The API returns a 302 redirect to a pre-authenticated download URL. Use when you know the file path but not the item ID.Input Parameters
Output
Download item as format
Download item as format
ONE_DRIVE_DOWNLOAD_ITEM_AS_FORMATTool to download the contents of a driveItem converted to a specific format (e.g., PDF or HTML). Use when you need to convert Office documents to PDF or Loop/Fluid files to HTML before downloading. Supports accessing items by item_id or by path, and can target specific drives via drive_id.Input Parameters
Output
Download Item Thumbnail
Download Item Thumbnail
ONE_DRIVE_DOWNLOAD_ITEM_THUMBNAILDownload thumbnail image bytes for a DriveItem identified by item ID.Input Parameters
Output
Download Drive Item Version Content
Download Drive Item Version Content
ONE_DRIVE_DOWNLOAD_ITEM_VERSIONTool to download the contents of a specific previous version of a drive item (file). Returns the actual file content. Note: You cannot download the current version using this endpoint - it only works for previous versions.Input Parameters
Output
Download Thumbnail by Path
Download Thumbnail by Path
ONE_DRIVE_DOWNLOAD_THUMBNAIL_BY_PATHDownload thumbnail image bytes for a path-addressed item in the current user’s OneDrive.Input Parameters
Output
Follow Drive Item
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.Input Parameters
Output
Format Workbook Range
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.Input Parameters
Output
Get document comments
Get document comments
ONE_DRIVE_GET_DOCUMENT_COMMENTSExtracts comments from a Word .docx file in OneDrive. The action downloads the document, parses the OOXML comments part, and returns structured comment data inline. When possible, it also includes the selected text and paragraph context from the document body so agents can understand what each comment refers to.Input Parameters
Output
Get Drive
Get Drive
ONE_DRIVE_GET_DRIVERetrieves properties and optionally expanded relationships of a Drive resource, including a specific drive or a user’s, group’s, or site’s drive.Input Parameters
Output
Get DriveItem by Sharing URL
Get DriveItem by Sharing URL
ONE_DRIVE_GET_DRIVE_ITEM_BY_SHARING_URLResolve a OneDrive or SharePoint sharing URL or share ID to drive item metadata and available IDs. An optional sharing-link redemption setting can grant durable access to the item.Input Parameters
Output
Get Drive Item List Item
Get Drive Item List Item
Get Drives Following
Get Drives Following
ONE_DRIVE_GET_FOLLOWED_ITEMTool to retrieve a specific followed driveItem from a drive. Use when you need to get details about a file or folder that the user has marked to follow.Input Parameters
Output
Get Group Drive
Get Group Drive
ONE_DRIVE_GET_GROUP_DRIVETool to retrieve the document library (drive) for a Microsoft 365 group. Use when you need to access the default document library associated with a specific group.Input Parameters
Output
Get Item Metadata
Get Item Metadata
ONE_DRIVE_GET_ITEMRetrieves the metadata of a DriveItem by its unique ID. Use this tool to get information about a specific file or folder in OneDrive when you have its ID. If a drive_id is not provided, it defaults to the user’s main drive.Input Parameters
Output
Get Item by Path
Get Item by Path
Get Item Permissions
Get Item Permissions
ONE_DRIVE_GET_ITEM_PERMISSIONSRetrieve a page of permissions for a DriveItem by ID, or by path in the current user’s drive. Use the continuation token to retrieve further pages; returned permissions can include inherited and link-based access.Input Parameters
item_id (which is required); use only as supplemental path context for items in the current user’s drive.next_page_token from the previous response, unmodified, until it is absent. Do not construct or edit it. When set, it drives pagination; resend the same required identifiers, but filter/sort params need not be repeated — the token carries them.Output
Get Item Thumbnails
Get Item Thumbnails
ONE_DRIVE_GET_ITEM_THUMBNAILSTool to retrieve the thumbnails associated with a DriveItem. Use when you need to display visual previews of files. Response contains a value array with size keys (small, medium, large); thumbnails may not be generated for all file types or newly uploaded items, so handle an empty or missing value array. Returned thumbnail URLs are external HTTP endpoints with independent availability.Input Parameters
Output
Get Item Versions
Get Item Versions
ONE_DRIVE_GET_ITEM_VERSIONSTool to retrieve the version history of a DriveItem by its unique ID. Use when you need to access or list previous versions of a file. Version history may be unavailable or empty for folders or items in drives without versioning enabled.Input Parameters
Output
Get Recent Items
Get Recent Items
ONE_DRIVE_GET_RECENT_ITEMSGet recently accessed files and folders using the deprecated Microsoft Graph recent endpoint. Results reflect recent activity rather than modification time; the action returns a page of items and may include a next link.Input Parameters
Output
Get Drive Root Folder
Get Drive Root Folder
ONE_DRIVE_GET_ROOTRetrieve metadata for the root folder of the signed-in user’s OneDrive or a specified user’s OneDrive, such as size, child count, or web URL.Input Parameters
Output
Get Site Details
Get Site Details
ONE_DRIVE_GET_SITERetrieves metadata for a specific SharePoint site by its ID. Use this action when you need to get details like display name, web URL, and creation/modification dates for a known SharePoint site.Input Parameters
Output
Get Drive Special Folder
Get Drive Special Folder
ONE_DRIVE_GET_SPECIAL_FOLDERTool to retrieve a special folder in OneDrive by name. Use when you need to access well-known folders (documents, photos, approot, etc.) without looking up by path or ID.Input Parameters
Output
Get User Profile
Get User Profile
ONE_DRIVE_GET_USERRetrieves profile properties for a Microsoft user by user ID or user principal name, including available contact details, job information, and account status.Input Parameters
Output
Get Workbook Range Fill
Get Workbook Range Fill
ONE_DRIVE_GET_WORKBOOK_RANGE_FILLRead the fill color applied to an Excel worksheet range.Input Parameters
Output
Get Workbook Used Range
Get Workbook Used Range
ONE_DRIVE_GET_WORKBOOK_USED_RANGERetrieves the used range of a worksheet in an Excel workbook stored in OneDrive or SharePoint without requiring the caller to know an explicit A1 range address. Use this action to read the active data region of a worksheet, optionally ignoring formatting-only cells.Input Parameters
Output
Get Workbook Worksheet
Get Workbook Worksheet
ONE_DRIVE_GET_WORKBOOK_WORKSHEETRetrieves a specific worksheet from an Excel workbook stored in OneDrive or SharePoint using Microsoft Graph API. Use this action when you need to get details about a particular worksheet, including its ID, name, position, and visibility. The worksheet can be identified by either its unique ID or its display name.Input Parameters
Output
Inspect Workbook Table
Inspect Workbook Table
ONE_DRIVE_INSPECT_WORKBOOK_TABLERead a workbook table’s occupied range and one page of its columns.Input Parameters
Output
Invite User to Drive Item
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.Input Parameters
Output
List Drive Activities
List Drive Activities
ONE_DRIVE_LIST_ACTIVITIESTool to retrieve recent activities on the authenticated user’s OneDrive. Use when you need to track recent changes or actions performed across the drive.Input Parameters
next_page_token from the previous response, unmodified, until it is absent. Do not construct or edit it. When set, it drives pagination; resend the same required identifiers, but filter/sort params need not be repeated — the token carries them.Output
List All Drive Items
List All Drive Items
ONE_DRIVE_LIST_ALL_DRIVE_ITEMSLists a complete OneDrive or SharePoint drive safely, one Microsoft Graph delta page per invocation. Start without page_token, then pass each next_page_token back until sync_complete is true. The terminal delta_token can be saved and passed back later to fetch changes since the completed snapshot. Delta enumeration is stable under concurrent writes and avoids the request burst caused by recursively fetching every folder in one execution.Input Parameters
next_page_token or delta_token by a previous call. Omit it to start a complete drive enumeration.Output
List Drive Bundles
List Drive Bundles
ONE_DRIVE_LIST_BUNDLESTool to retrieve a list of bundle resources from a specified drive. Bundles are collections of files (e.g., photo albums). Use when you need to list bundles in a drive.Input Parameters
next_page_token from the previous response, unmodified, until it is absent. Do not construct or edit it. When set, it drives pagination; resend the same required identifiers, but filter/sort params need not be repeated — the token carries them.Output
List Drives
List Drives
ONE_DRIVE_LIST_DRIVESTool to retrieve a list of Drive resources available to the authenticated user, or for a specific user, group, or site. Use when you need to find out what drives are accessible. Returns only drives within the signed-in account’s permission scope; missing drives indicate insufficient permissions or different tenant scope. Results are paginated — pass the returned next_page_token back as page_token across all pages to avoid missing drives. Returned drives represent document libraries and may not reflect full SharePoint site structure; use SHARE_POINT_GET_SITE_COLLECTION_INFO or SHARE_POINT_SEARCH_QUERY for broader coverage. Use driveType and webUrl to distinguish personal, system, and SharePoint-backed drives.Input Parameters
next_page_token from the previous response, unmodified, until it is absent. Do not construct or edit it. When set, it drives pagination; resend the same required identifiers, but filter/sort params need not be repeated — the token carries them.Output
List Folder Children
List Folder Children
ONE_DRIVE_LIST_FOLDER_CHILDRENList the direct children (files/folders) of a OneDrive/SharePoint folder by DriveItem ID or path. Returns reliable pagination tokens for large folders. Use when you need to enumerate folder contents deterministically, find companion artifacts (e.g., .vtt/.docx files), or browse within a known folder.Input Parameters
next_page_token from the previous response, unmodified, until it is absent. Do not construct or edit it. When set, it drives pagination; resend the same required identifiers, but filter/sort params need not be repeated — the token carries them.Output
List Followed Sites
List Followed Sites
ONE_DRIVE_LIST_FOLLOWED_SITESList SharePoint sites followed by the signed-in organizational user. Microsoft documents a known issue that can make results incorrect.Input Parameters
Output
List Drive Item Activities
List Drive Item Activities
List Root Drive Changes
List Root Drive Changes
ONE_DRIVE_LIST_ROOT_DRIVE_CHANGESList drive item changes using Microsoft Graph delta, including additions, modifications and deletions, for a specified drive or the current user’s drive. Initial enumeration can span multiple pages; follow next links until a delta link is returned, then use it for subsequent changes.Input Parameters
@odata.nextLink is absent to get complete results; default page size is ~200 items.Output
List Site Columns
List Site Columns
ONE_DRIVE_LIST_SITE_COLUMNSTool to list all column definitions for a SharePoint site. Use this when you need to retrieve the schema or structure of columns within a specific SharePoint site.Input Parameters
contoso.sharepoint.com,2C712604-133D-4A7C-9194-F53CE4C952A2,A704AEF5-C2C0-43C3-A3D8-9F55A73A02E2Output
List Site Drive Items Delta
List Site Drive Items Delta
ONE_DRIVE_LIST_SITE_ITEMS_DELTATool to track changes to DriveItems in the default document library of a SharePoint site. Use when you need to get a list of items that have been added, modified, or deleted since a previous state or to get an initial enumeration of all items.Input Parameters
Output
List Site Lists
List Site Lists
ONE_DRIVE_LIST_SITE_LISTSTool to list all lists under a specific SharePoint site. Use when you need to enumerate lists within a known site. Returns only Microsoft Graph-supported lists — internal/system lists are excluded, so results may be a strict subset of all site lists (e.g., 13 returned where 108 exist). Results are in the data.value array. IMPORTANT: Only works with organizational Microsoft 365 accounts (Azure AD/Entra ID). NOT supported for personal Microsoft accounts (MSA/Outlook.com/Hotmail). Personal OneDrive users cannot access SharePoint sites through this endpoint.Input Parameters
next_page_token from the previous response, unmodified, until it is absent. Do not construct or edit it. When set, it drives pagination; resend the same required identifiers, but filter/sort params need not be repeated — the token carries them.Output
List Site Recycle Bin Items
List Site Recycle Bin Items
ONE_DRIVE_LIST_SITE_RECYCLE_BIN_ITEMSReturn one page of deleted items from a SharePoint site’s recycle bin. This action uses Microsoft Graph’s beta API, which can change without notice and isn’t supported for production applications.Input Parameters
Output
List Site Subsites
List Site Subsites
ONE_DRIVE_LIST_SITE_SUBSITESLists subsites of a SharePoint site for an organizational Microsoft 365 account. Results are paginated and can be filtered; an empty page does not necessarily mean the site has no subsites.Input Parameters
hostname,siteCollectionId,siteId; partial or malformed IDs may silently return empty results rather than an error.next_page_token from the previous response, unmodified, until it is absent. Do not construct or edit it. When set, it drives pagination; resend the same required identifiers, but filter/sort params need not be repeated — the token carries them.Output
List Subscriptions
List Subscriptions
ONE_DRIVE_LIST_SUBSCRIPTIONSLists current webhook subscriptions for the authenticated user or app, one page at a time. Results may span multiple drives and resources and can be filtered client-side by resource URL or type.Input Parameters
next_page_token from the previous response, unmodified, until it is absent. Do not construct or edit it. When set, it drives pagination; resend the same required identifiers, but filter/sort params need not be repeated — the token carries them.Output
List Workbook Names
List Workbook Names
ONE_DRIVE_LIST_WORKBOOK_NAMESList defined names and formulas in an Excel workbook. Microsoft documents this endpoint for delegated work or school and personal Microsoft accounts. Application permissions are not supported.Input Parameters
me for the connected user’s drive, or pass a Drive resource ID.next_page_token by a previous call. Pass it back unchanged with the same drive_id and item_id.Output
List Workbook Worksheets
List Workbook Worksheets
ONE_DRIVE_LIST_WORKBOOK_WORKSHEETSRetrieves a list of all worksheets in an Excel workbook stored in OneDrive or SharePoint. Returns worksheet metadata including IDs, names, positions, and visibility states. Use this action when you need to enumerate available worksheets in a workbook, find a specific worksheet by name, or understand the workbook structure before performing operations on worksheet data.Input Parameters
Output
Move Item
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.Input Parameters
invalidRequest error./me/drive).Output
Create folder
Create folder
ONE_DRIVE_ONEDRIVE_CREATE_FOLDERCreates a new folder in the user’s OneDrive with configurable conflict behavior, optionally within a specified parent_folder (by ID or full path from root) which, if not the root, must exist and be accessible.Input Parameters
Output
Create a new text file
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.Input Parameters
Output
Find Item
Find Item
ONE_DRIVE_ONEDRIVE_FIND_FILEFind files or folders by exact name within a specified OneDrive folder, without searching subfolders. Results may be paginated; iterate all pages to avoid missing matches.Input Parameters
folder. Multiple items may match common names; use response_detail='full' and disambiguate by path, size, or last-modified timestamp.Output
Find Folder
Find Folder
ONE_DRIVE_ONEDRIVE_FIND_FOLDERFind direct child folders in a OneDrive parent folder, optionally matching an exact name. Results are returned one page at a time; a page can be empty even when later pages contain matches.Input Parameters
folder are returned.next_page_token from the previous response, unmodified, until it is absent. Do not construct or edit it. When set, it drives pagination; resend the same required identifiers, but filter/sort params need not be repeated — the token carries them.Output
List OneDrive items
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.Input Parameters
next_page_token.driveItem properties to return. If omitted or empty, default properties are returned. Refer to Microsoft Graph API documentation for a complete list of driveItem properties.next_page_token from the previous response, unmodified, until it is absent. Do not construct or edit it. When set, it drives pagination; resend the same required identifiers (e.g. user_id), but select/top need not be repeated — the token carries them.Output
Upload file
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.Input Parameters
id or webUrl for follow-up operations.Output
Preview Drive Item
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.Input Parameters
Output
Read Workbook Range
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’).Input Parameters
Output
Restore Deleted Item
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.Input Parameters
Output
Restore Item Version
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.Input Parameters
Output
Revoke Sharing Link Grants
Revoke Sharing Link Grants
Search Drive Items
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.Input Parameters
Output
Search Items
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.Input Parameters
next_page_token from the previous response, unmodified, until it is absent. Do not construct or edit it. When set, it drives pagination; resend the same required identifiers, but filter/sort params need not be repeated — the token carries them.Output
Track Folder Changes
Track Folder Changes
ONE_DRIVE_TRACK_FOLDER_CHANGESTrack changes beneath one folder, one Microsoft Graph delta page at a time.Input Parameters
Output
Delete Drive Following
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.Input Parameters
Output
Update Drive Item Metadata
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.Input Parameters
\, /, :, *, ?, ', <, >, |; these trigger an invalidRequest error.parent_reference_drive_id is required alongside this field. Omit both fields when only renaming or updating metadata to avoid unintended moves.Output
Update Drive Item Permissions
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.Input Parameters
Output
Update File Content
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.Input Parameters
file is provided — the chunked upload always commits the session at the end.Output
Update Table Column Range
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.Input Parameters
Output
Update Workbook 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.Input Parameters
Output
Update Workbook Worksheet
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.Input Parameters
Output
Write Workbook Cell
Write Workbook Cell
ONE_DRIVE_WRITE_WORKBOOK_CELLUpdates the value, formula, or format of a specific cell in an Excel workbook stored in OneDrive. Use this action when you need to write data to a single cell at a specific row and column position. The row and column parameters are 0-indexed (row 0 is the first row, column 0 is column A).Input Parameters
[['new value']]. At least one of values, formulas, or number_format must be provided.[['=SUM(A1:A10)']]). If provided, this takes precedence over values.[['0.00']] for two decimal places, [['mm-dd-yyyy']] for dates).Output
Triggers
Onedrivebasetrigger
Onedrivebasetrigger
OneDrive File Created Trigger
OneDrive File Created Trigger
File Updated
File Updated
OneDrive Folder Created Trigger
OneDrive Folder Created Trigger
OneDrive Item Deleted Trigger
OneDrive Item Deleted Trigger
Item Moved or Renamed
Item Moved or Renamed
OneDrive Item Updated Trigger
OneDrive Item Updated Trigger
New Version Created
New Version Created