OneDrive

OneDrive is Microsoft’s cloud storage solution enabling users to store, sync, and share files across devices, offering offline access, real-time collaboration, and enterprise-grade security

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Download a file

    Downloads 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

    Downloads 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

    Tool 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

    Download thumbnail image bytes for a DriveItem identified by item ID.

  • Download Drive Item Version Content

    Tool 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

    Download thumbnail image bytes for a path-addressed item in the current user's OneDrive.

  • Get document comments

    Extracts 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

    Retrieves 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

    Resolve 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

    Retrieve the SharePoint list item associated with a driveItem.

  • Get Drives Following

    Tool 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

    Tool 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

    Retrieves 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

    Retrieve OneDrive or SharePoint driveItem metadata by drive-relative path.

  • Get Item Permissions

    Retrieve 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

    Tool 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

    Tool 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.

  • Get Drive Root Folder

    Retrieve 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.

  • Get Shared Item by ShareId

    Tool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId or sharing token and need information about what was shared.

  • Get SharePoint List Items

    Tool to get the items (list items) within a specific SharePoint list on a site. Use when you need to retrieve data from a SharePoint list.

Page 1 / 3Next