At a glance
- Availability: Enabled by default.
- Auth: OAuth 2.0.
- Connection: A user authorizes the connection in the provider’s consent screen.
- Scopes:
Files.Read,Files.ReadWrite,Files.Read.All,Files.ReadWrite.All,offline_access.
Credentials
Set these per environment. See Connect an integration. With a managed OAuth app, Connect works without these variables; set them to use your own OAuth app instead.Tools
| Tool | Access | Description |
|---|---|---|
| List Files | Read | List files and folders in a OneDrive folder |
| Search Files | Read | Search for files and folders in OneDrive by name or content |
| Upload File | Write | Upload or update a file in OneDrive |
| Download File | Read | Download file content from OneDrive |
| Get File | Read | Get metadata for a OneDrive file or folder |
| Create Folder | Write | Create a new folder in OneDrive |
| Delete File | Write | Delete a file or folder from OneDrive (moves it to the recycle bin) |
Example prompts
- Search for documents in OneDrive and summarize their content.
- Show me the most recently modified files in my OneDrive.
- Help me organize and manage files in my OneDrive storage.
- Upload and backup a file to my OneDrive storage.