Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
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.
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.
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.
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.
Download Item Thumbnail
ONE_DRIVE_DOWNLOAD_ITEM_THUMBNAILDownload thumbnail image bytes for a DriveItem identified by item ID.
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.
Download Thumbnail by Path
ONE_DRIVE_DOWNLOAD_THUMBNAIL_BY_PATHDownload thumbnail image bytes for a path-addressed item in the current user's 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.
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.
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.
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.
Get Drive Item List Item
ONE_DRIVE_GET_DRIVE_ITEM_LIST_ITEMRetrieve the SharePoint list item associated with a driveItem.
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.
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.
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.
Get Item by Path
ONE_DRIVE_GET_ITEM_BY_PATHRetrieve OneDrive or SharePoint driveItem metadata by drive-relative path.
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.
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.
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.