Skip to navigation

OneDrive

Connect your AI agents to OneDrive.
Ready to connect

Connects with credentials the end user enters, such as an API key, so you don’t need to register an OAuth app.

Authentication: OAuth or access token. See Magic Link for the runtime auth flow, or Application credentials to bring your own OAuth app.

Sample use cases

  • Find files in /Sales/Proposals modified in the last 7 days.
  • Share the Q2 Onboarding folder with view-only access to onboarding@acme.com.
  • Move files older than 1 year from /Active to /Archive.

Available Tools

get_file_activity

Get activity history for files and folders

get_my_drive

Get the user’s default OneDrive

get_drive

Get information about a specific drive by ID

list_my_drives

List all drives available to the user

get_root_folder

Get the root folder of a drive

get_special_folder

Get a special folder (Documents, Photos, etc.)

get_drive_usage

Get storage usage information for a drive

get_drive_owner

Get owner information for a drive

get_item

Get a drive item by ID or path

list_items

List children of a folder

create_folder

Create a new folder

upload_file

Upload a file to OneDrive

download_item

Download file content from OneDrive

update_item

Update item metadata

move_item

Move an item to a different folder

copy_item

Copy an item to a different location

delete_item

Delete an item from OneDrive

search_items

Search for items in OneDrive

list_permissions

List permissions for an item

get_permission

Get a specific permission by ID

create_sharing_link

Create a sharing link for an item

grant_permission

Grant permissions to recipients for an item

update_permission

Update roles for a user/group permission

delete_permission

Remove a permission from an item

access_shared_item

Access a shared item using sharing URL

get_sharing_link

Get sharing link information for an item

check_item_sharing_status

Check sharing status of an item

get_thumbnails

Get all available thumbnails for an item

get_thumbnail

Get a specific thumbnail size for an item

get_preview

Generate a preview link for an item

check_thumbnail_availability

Check if thumbnails are available for an item

get_thumbnail_urls

Get thumbnail URLs for an item

list_item_versions

List all versions of a file

get_item_version

Get details of a specific version

restore_item_version

Restore a previous version of a file

compare_item_versions

Compare two versions of a file

list_deleted_items

List items in the recycle bin

restore_deleted_item

Restore an item from the recycle bin

get_version_download_url

Get download URL for a specific version of a file

search_items_advanced

Search OneDrive with filters: file types, content category, modified/created, date ranges, size range, modified-by-me, and folder scoping.

read_item_text

Read a OneDrive file’s contents as text, by item_id (from list_items or search_items) or path.