Actions
| Name | Description |
|---|---|
list_filesList files and folders in a OneDrive directory | List files and folders in a OneDrive directory |
get_fileGet metadata for a file or folder by ID | Get metadata for a file or folder by ID |
upload_fileUpload a small file (up to 4 MB) to OneDrive | Upload a small file (up to 4 MB) to OneDrive |
create_folderCreate a new folder in OneDrive | Create a new folder in OneDrive |
search_filesSearch for files in OneDrive | Search for files in OneDrive |
share_fileCreate a sharing link for a file | Create a sharing link for a file |
delete_fileDelete a file or folder from OneDrive | Delete a file or folder from OneDrive |
custom_api_callMake a custom API call to the Microsoft Graph API | Make a custom API call to the Microsoft Graph API |
Triggers
| Name | Description |
|---|---|
new_fileTriggers when a new file is added to OneDrive | Triggers when a new file is added to OneDrive |
file_updatedTriggers when a file is modified in OneDrive | Triggers when a file is modified in OneDrive |
Quick Start
import { WeavzClient } from '@weavz/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute({
integrationName: 'microsoft-onedrive',
actionName: 'list_files',
input: { /* ... */ },
connectionId: 'conn_id',
workspaceId: 'ws_id',
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect Microsoft OneDrive to my app?
Use Weavz Hosted Connect for OAuth2 authentication. Install the SDK, create a connection through the connect portal or API, then execute actions programmatically.
What actions does Microsoft OneDrive support?
Microsoft OneDrive supports 8 actions including List Files, Get File, Upload File, Create Folder, Search Files, and more.
Can I use Microsoft OneDrive with AI agents?
Yes. Add Microsoft OneDrive to an MCP server in TOOLS mode or CODE mode. CODE mode provides 80-98% context reduction with 3 meta-tools for efficient agent access.
What authentication does Microsoft OneDrive use?
Microsoft OneDrive uses OAuth2. Weavz handles token management, refresh, and secure credential storage automatically.
How much does the Microsoft OneDrive integration cost?
The Microsoft OneDrive integration is included on all Weavz plans including the free tier with 1,000 actions per month. No credit card required.
What triggers does Microsoft OneDrive support?
Microsoft OneDrive supports 2 triggers including New File, File Updated.
Connect Microsoft OneDrive in 2 minutes
Get 1,000 free actions every month. No credit card required.