You can wire the OneDrive node into an AI agent as a tool provider: the agent calls the operations you allow. See Agent tools.
Credentials
Connect OneDrive under Credentials in the node settings. See Connecting credentials for the general flow. Sign in with your OneDrive account when prompted; no keys to copy. Connect your Microsoft account to access OneDrive files. Uses Microsoft Graph API with OAuth 2.0. Get your credentials here. NoClick requests the following permissions:https://graph.microsoft.com/Files.ReadWrite.Allhttps://graph.microsoft.com/User.Read
Operations
Drive
| Operation | ID | Description |
|---|---|---|
| Get Drive Info | get_drive_info | Get drive information and quota |
| List Recent Items | list_recent_items | List recently accessed items |
| List Shared Items | list_shared_items | List items shared with the user |
| Search Drive Items | search_drive_items | Search for items in OneDrive |
| Track Drive Changes | track_drive_changes | Track changes in OneDrive (delta query) |
File
| Operation | ID | Description |
|---|---|---|
| Create Large File Upload Session | create_large_file_upload_session | Create upload session for large files (>4MB) |
| Create Sharing Link | create_sharing_link | Create a sharing link for an item |
| Get File Version | get_file_version | Get a specific version of a file |
| List File Versions | list_file_versions | List all versions of a file |
| List Item Thumbnails | list_item_thumbnails | Get thumbnail images for a file |
| Restore File Version | restore_file_version | Restore a file to a previous version |
| Send Sharing Invitation | send_sharing_invitation | Send a sharing invitation |
| Upload File | upload_file | Upload a file (for files up to 4MB) |
Folder
| Operation | ID | Description |
|---|---|---|
| Create Folder | create_folder | Create a new folder |
| Get Special Folder | get_special_folder | Access special folders (Documents, Photos, etc.) |
| List Folder Contents | list_folder_contents | List contents of a folder |
Item
| Operation | ID | Description |
|---|---|---|
| Check in File | check_in_file | Check in a file (unlock and save) |
| Check Out File | check_out_file | Check out a file (lock for editing) |
| Copy Item | copy_item | Copy a file or folder |
| Delete Item | delete_item | Delete a file or folder (moves to recycle bin) |
| Delete Item Permission | delete_item_permission | Remove a permission |
| Discard File Checkout | discard_file_checkout | Discard checkout (unlock without saving) |
| Download Item | download_item | Download file content |
| Follow Item | follow_item | Follow an item for updates |
| Get Item Analytics | get_item_analytics | Get analytics for a file |
| Get Item Download Stream | get_item_download_stream | Get download stream URL for a file |
| Get Item Metadata | get_item_metadata | Get metadata for a file or folder |
| Get Item Preview Url | get_item_preview_url | Get a preview URL for a file |
| Get Item Thumbnail | get_item_thumbnail | Get a specific thumbnail size |
| Grant Item Permission | grant_item_permission | Grant permission to a user or group |
| List Item Permissions | list_item_permissions | List permissions for an item |
| Move Item | move_item | Move a file or folder |
| Permanently Delete Item | permanently_delete_item | Permanently delete an item (cannot be recovered) |
| Restore Item from Recycle Bin | restore_item_from_recycle_bin | Restore a deleted item from recycle bin |
| Unfollow Item | unfollow_item | Unfollow an item |
| Update Item Metadata | update_item_metadata | Update file or folder metadata |
| Update Item Permission | update_item_permission | Update an existing permission |