Skip to main content
OneDrive logo

OneDrive

OneDrive is Microsoft’s cloud storage solution enabling users to store, sync, and share files across devices, offering offline access, real-time collaboration, and enterprise-grade security

This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.

Connect

OneDrive connects with a single OAuth click - there is no token to paste. The first time an agent uses an OneDrive action, FlyMyAI asks you to authorize your OneDrive account. Approve it once and the connection is reused for every later run.

Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

ActionWhat it doesRequired inputs
ONE_DRIVE_COPY_ITEMTool to copy a driveitem (file or folder) to a new location asynchronously. use when you need to duplicate an item, optionally renaming it or specifying a different parent folder. the operation is asynchronous; the response provides a url to monitor the copy…item_id
ONE_DRIVE_CREATE_LINKTool to create a sharing link for a driveitem (file or folder) by its unique id. use when you need to generate a shareable link for an item in onedrive or sharepoint.item_id, type
ONE_DRIVE_DELETE_ITEMTool to delete a driveitem (file or folder) by its unique id from the authenticated user's onedrive. use when you need to remove an item from onedrive. this action moves the item to the recycle bin, not permanently deleting it.item_id
ONE_DRIVE_DOWNLOAD_FILEDownloads a file from a user's onedrive using its item id, which must refer to a file and not a folder.item_id, file_name
ONE_DRIVE_GET_DRIVERetrieves the properties and relationships of a drive resource by its unique id. use this action when you need to get details about a specific onedrive, user's onedrive, group's document library, or a site's document library.drive_id
ONE_DRIVE_GET_ITEMRetrieves the metadata of a driveitem by its unique id. use this tool to get information about a specific file or folder in onedrive when you have its id. if a 'drive id' is not provided, it defaults to the user's main drive.item_id
ONE_DRIVE_GET_ITEM_PERMISSIONSRetrieves the permissions of a driveitem by its unique id or path within a specific drive. use when you need to check who has access to a file or folder and what level of access they have.item_id
ONE_DRIVE_GET_ITEM_THUMBNAILSTool to retrieve the thumbnails associated with a driveitem. use when you need to display visual previews of files.item_id
ONE_DRIVE_GET_ITEM_VERSIONSTool to retrieve the version history of a driveitem by its unique id. use when you need to access or list previous versions of a file.item_id
ONE_DRIVE_GET_QUOTATool to retrieve the quota information for the authenticated user's onedrive. use this action to check the storage space details like total, used, and remaining space on the user's onedrive.-
ONE_DRIVE_GET_RECENT_ITEMSRetrieves a list of items that have been recently used by the authenticated user. this tool is useful when you need to access or display files and folders that the user has interacted with recently across their onedrive and accessible shared drives.-
ONE_DRIVE_GET_SHARED_ITEMSTool to retrieve a list of items that have been shared with the authenticated user. use this action to get details of files and folders shared with the current user.-
ONE_DRIVE_GET_SHAREPOINT_LIST_ITEMSTool to get the items (list items) within a specific sharepoint list on a site. use when you need to retrieve data from a sharepoint list.site_id, list_id
ONE_DRIVE_GET_SITE_DETAILSRetrieves metadata for a specific sharepoint site by its id. use this action when you need to get details like display name, web url, and creation/modification dates for a known sharepoint site.site_id
ONE_DRIVE_GET_SITE_PAGE_CONTENTGets the content of a modern sharepoint site page. use when you need to retrieve the details and content of a specific page within a sharepoint site.site_id, page_id
ONE_DRIVE_INVITE_USER_TO_DRIVE_ITEMTool to invite users or grant permissions to a specific item in a onedrive drive. use when you need to share a file or folder with other users and define their access level (e.g., read or write).item_id, recipients, roles
ONE_DRIVE_LIST_DRIVESTool to retrieve a list of drive resources available to the authenticated user, or for a specific user, group, or site. use when you need to find out what drives are accessible.-
ONE_DRIVE_LIST_DRIVE_ITEM_ACTIVITIESTool to list recent activities for a specific item in a onedrive drive. use when you need to track changes or actions performed on a file or folder.drive_id, item_id
ONE_DRIVE_LIST_ROOT_DRIVE_CHANGESTool to list changes in the root of the user's primary drive using a delta token. use when you need to track file and folder modifications, additions, or deletions in the main onedrive directory.-
ONE_DRIVE_LIST_SHAREPOINT_LIST_ITEMS_DELTATool to track changes to items in a sharepoint list using a delta query. use when you need to get newly created, updated, or deleted list items without performing a full read of the entire item collection.site_id, list_id
ONE_DRIVE_LIST_SITE_COLUMNSTool to list all column definitions for a sharepoint site. use this when you need to retrieve the schema or structure of columns within a specific sharepoint site.site_id
ONE_DRIVE_LIST_SITE_DRIVE_ITEMS_DELTATool to track changes to driveitems in the default document library of a sharepoint site. use when you need to get a list of items that have been added, modified, or deleted since a previous state or to get an initial enumeration of all items.site_id
ONE_DRIVE_LIST_SITE_LISTSTool to list all lists under a specific sharepoint site. use when you need to enumerate lists within a known site.site_id
ONE_DRIVE_LIST_SITE_SUBSITESTool to list all subsites of a sharepoint site. use when you need to retrieve a collection of subsites for a given parent site.site_id
ONE_DRIVE_LIST_SUBSCRIPTIONSTool to list the current subscriptions for the authenticated user or app. use this to retrieve details of existing webhook subscriptions.-
ONE_DRIVE_MOVE_ITEMTool to move a file or folder to a new parent folder in onedrive. use when you need to reorganize your files or folders by changing their location. you can optionally rename the item during the move.itemId, parentReference
ONE_DRIVE_ONEDRIVE_CREATE_FOLDERCreates a new folder in the user's onedrive, automatically renaming on conflict, optionally within a specified parent folder (by id or full path from root) which, if not the root, must exist and be accessible.name
ONE_DRIVE_ONEDRIVE_CREATE_TEXT_FILECreates a new text file with specified content in a onedrive folder, using either the folder's unique id or its absolute path (paths are automatically resolved to ids); note that onedrive may rename or create a new version if the filename already exists.name, content
ONE_DRIVE_ONEDRIVE_FIND_FILENon-recursively finds an item (file or folder) in a specified onedrive folder; if 'folder' is provided as a path, it must actually exist.name
ONE_DRIVE_ONEDRIVE_FIND_FOLDERFinds folders by name within an accessible parent folder in onedrive, or lists all its direct child folders if no name is specified.-
ONE_DRIVE_ONEDRIVE_LIST_ITEMSRetrieves all files and folders as 'driveitem' resources from the root of a specified user's onedrive, automatically handling pagination.-
ONE_DRIVE_ONEDRIVE_UPLOAD_FILEUploads a file to a specified onedrive folder, automatically renaming on conflict and supporting large files via chunking.file
ONE_DRIVE_PREVIEW_DRIVE_ITEMGenerates or retrieves a short-lived embeddable url for a preview of a specific item. use when you need to display a temporary preview of a file.item_id
ONE_DRIVE_SEARCH_ITEMSSearches for driveitems in onedrive that match the specified query. use this to find files or folders based on keywords.q
ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATATool to update the metadata of a specific item (file or folder) in onedrive. use this to rename items, change descriptions, or move items to a new parent folder.item_id
We love our partners - FlyMy.AI builds with the best. Thanks, OneDrive!