Overview
Microsoft’s cloud storage service for storing and sharing files and folders. Through Langdock’s integration, you can access and manage OneDrive directly from your conversations.Authentication: OAuth
Category: Microsoft 365
Availability: All workspace plans
Category: Microsoft 365
Availability: All workspace plans
Available Actions
Search Files
onedrive.searchFiles
Searches for files in OneDrive by their title
Requires Confirmation: No
Parameters:
query
(TEXT, Optional): The search term to find matching files
Download File
onedrive.downloadFile
Downloads a file from OneDrive
Requires Confirmation: No
Parameters:
parent
(TEXT, Required): The parent folder containing the fileitemId
(TEXT, Required): The unique identifier of the file to download
Search Files
onedrive.searchFiles
Searches files by name and returns detailed information about each matching file
Requires Confirmation: No
Parameters:
name
(TEXT, Required): The name of the OneDrive item you want to find
List Available Drives
onedrive.listAvailableDrives
Lists all accessible OneDrive locations
Requires Confirmation: No
Parameters: None
Output: Returns array of available drives with their details
Download OneDrive File
onedrive.downloadOneDriveFile
Downloads a file from OneDrive and returns base64 content
Requires Confirmation: No
Parameters:
parent
(OBJECT, Required): Parent object of the OneDrive file (e.g., driveId, userId, groupId, siteId)itemId
(TEXT, Required): The OneDrive item identifier
Common Use Cases
Data Management
Manage and organize your OneDrive data
Automation
Automate workflows with OneDrive
Reporting
Generate insights and reports
Integration
Connect OneDrive with other tools
Best Practices
Getting Started:
- Enable the OneDrive integration in your workspace settings
- Authenticate using OAuth
- Test the connection with a simple read operation
- Explore available actions for your use case
Important Considerations:
- Ensure proper authentication credentials
- Respect rate limits and API quotas
- Review data privacy settings
- Test operations in a safe environment first
Troubleshooting
Issue | Solution |
---|---|
Authentication failed | Verify your OAuth credentials |
Rate limit exceeded | Reduce request frequency |
Data not found | Check permissions and data availability |
Connection timeout | Verify network connectivity |