Back to tools

AI Agent Tool

Microsoft Onedrive logo

Microsoft Onedrive

Microsoft's cloud storage and file sync platform, accessed via the Microsoft Graph API.

Cloud StorageVerified

graph.microsoft.com

•

One-click Login

About Microsoft Onedrive

Microsoft OneDrive is a cloud storage service deeply integrated with Microsoft 365 and accessible to developers via the Microsoft Graph API (graph.microsoft.com). It provides file storage, syncing across devices, real-time co-authoring in Office apps, and sharing with configurable permissions. The Graph API enables programmatic file access, upload, search, webhooks for file changes, and SharePoint integration. Microsoft 365 prices are set to increase in July 2026.

AI Agent Use Cases

- File storage, sync, and sharing across Windows, macOS, iOS, and Android

- Microsoft Graph API for programmatic file access and management

- Real-time co-authoring with Office 365 (Word, Excel, PowerPoint)

- Granular sharing permissions and password-protected links

- Version history and file restore

- SharePoint integration for enterprise document management

Available Actions

These are the specific actions that AI agents can perform with this tool

Inputs

parentFolderType

Whether to nest the new folder within a folder in your drive (`default`) or a shared folder (`shared`)

parentFolderId

The ID of the folder which the the new folder should be created. Use the \

sharedFolderReference

The reference of the shared folder which the the new folder should be created.\n\nE.g. `/drives/{driveId}/items/{folderId}/children`

folderName

The name of the new folder to be created. e.g. `New Folder`

Inputs

driveItemId

The ID of the DriveItem to create a sharing link for. **Search for the file/folder by name.**

type

The type of sharing link to create. Either `view`, `edit`, or `embed`.

scope

The scope of link to create. Either `anonymous` or `organization`.

Inputs

fileId

The file to download. You can either search for the file here, provide a custom *File ID*, or use the `File Path` prop to specify the path directly.

filePath

The path to the file from the root folder, e.g., `Documents/My Subfolder/File 1.docx`. You can either provide this, or search for an existing file with the `File ID` prop.

newFileName

The file name to save the downloaded content as, under the `/tmp` folder. Make sure to include the file extension.

syncDir

syncDir

Inputs

name

The name of the file or folder to search for

excludeFolders

Set to `true` to return only files in the response. Defaults to `false`

Inputs

fileId

The file to retrieve. You can either search for the file here, provide a custom *File ID*.

Inputs

alert

alert

itemId

**Search for the file by name.** Only xlsx files are supported.

tableName

This is set in the **Table Design** tab of the ribbon.

removeHeaders

By default, The headers are included as the first row.

numberOfRows

Leave blank to return all rows.

Inputs

folderId

The ID of the folder. Use the \

excludeFolders

Set to `true` to return only files in the response. Defaults to `false`

Inputs

uploadFolderId

The ID of the folder where you want to upload the file. Use the \

filePath

The file to upload. Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/myFile.txt`)

filename

Name of the new uploaded file

syncDir

syncDir