manage_permissions
Manage Permissions
Lists or removes permissions on a file or folder in OneDrive or SharePoint. Use "list" action to see all sharing permissions and links, or "remove" to revoke a specific permission.
manage_permissions
Lists or removes permissions on a file or folder in OneDrive or SharePoint. Use "list" action to see all sharing permissions and links, or "remove" to revoke a specific permission.
copy_item
Copies a file or folder to a new location in OneDrive or SharePoint. The copy is performed asynchronously by Microsoft Graph; a monitor URL is returned to track the operation status. Optionally rename the copy.
list_items
Lists files and folders within a specific folder in OneDrive or a SharePoint document library. Supports pagination, filtering, and sorting. Items can be addressed by folder ID or by path.
move_rename_item
Moves a file or folder to a new location and/or renames it. Can move items between folders or across drives in OneDrive/SharePoint. Provide a new parent folder to move, a new name to rename, or both.
create_folder
Creates a new folder in OneDrive or SharePoint. The parent location can be specified by folder ID or path.
share_item
Creates a sharing link or sends sharing invitations for a file or folder in OneDrive or SharePoint. Can create anonymous, organization-wide, or user-specific links with read or edit access. Can also invite specific users by email.
delete_item
Permanently deletes a file or folder from OneDrive or SharePoint. Deleted items may be moved to the recycle bin depending on the drive configuration.
get_item
Retrieves detailed metadata for a specific file or folder in OneDrive or SharePoint, including size, timestamps, permissions summary, and media-specific metadata (photo, audio, video). Items can be addressed by ID or path.
search_files
Searches for files and folders in OneDrive or SharePoint by name, content, or metadata. Results include items from the user's own drive as well as items shared with them.
list_drives
Retrieves all available drives for the authenticated user, including their personal OneDrive and any shared drives or SharePoint document libraries they have access to. Returns drive metadata including storage quota information.
upload_file
Uploads a file to OneDrive or SharePoint. Supports simple upload for text/small content. For large file uploads, use the "Create Upload Session" tool instead. The destination can be specified by parent folder ID or path.
download_file
Retrieves a pre-authenticated, short-lived download URL for a file in OneDrive or SharePoint. Supports optional format conversion (e.g., convert to PDF). The URL can be used directly to download the file content.
create_upload_session
Creates a resumable upload session for uploading large files (up to 250 GB) to OneDrive or SharePoint. Returns an upload URL that accepts byte range PUT requests. Use this for files larger than 4 MB.
Upload, download, create, copy, move, rename, and delete files and folders in OneDrive and SharePoint document libraries. Share files and folders via sharing links or permission grants. Search for files by name, content, or metadata. Manage drives and access storage quota information. Track file and folder changes over time using delta queries. Subscribe to webhooks for drive change notifications. Access file previews, thumbnails, and rich metadata for photos, audio, and video. Supports resumable uploads for large files up to 250 GB and PDF conversion on download.
Common questions about connecting Onedrive to AI agents with Metorial.