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
What your agent can do with OneDrive
Triggers and actions 9 triggers · 25 actions
- TriggerFile Updated
Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.
- TriggerItem Moved or Renamed
Triggers when a file or folder is moved to a different path or renamed in OneDrive. Includes both old and new path/name data in the payload.
- TriggerNew Version Created
Trigger that fires when a new version of a specified OneDrive file is created.
- TriggerOnedrivebasetrigger
Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.
- TriggerOneDrive File Created Trigger
Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
- TriggerOneDrive Folder Created Trigger
Triggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
- TriggerOneDrive Item Deleted Trigger
Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
- TriggerOneDrive Item Updated Trigger
Triggers when an existing file or folder is modified in OneDrive. Uses Gmail-style state management and only detects actual modifications, not new creations.
- TriggerSharing Permission Added or Removed
Sharing Permission Added or Removed
- ActionCopy Item
Tool 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 progress.
- ActionCreate Link
Tool 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.
- ActionDelete Item
Tool 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.
- ActionDownload File
Downloads a file from a user's onedrive using its item id, which must refer to a file and not a folder.
- ActionGet Drive
Retrieves 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.
- ActionGet Item
Retrieves 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.
- ActionGet Item Permissions
Retrieves 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.
- ActionGet Item Thumbnails
Tool to retrieve the thumbnails associated with a driveitem. use when you need to display visual previews of files.
- ActionGet Item Versions
Tool 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.
- ActionGet Quota
Tool 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.
- ActionGet Recent Items
Retrieves 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.
- ActionGet Shared Items
Tool 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.
- ActionList Drive Item Activities
Tool 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.
- ActionList Drives
Tool 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.
- ActionList Root Drive Changes
Tool 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.
- ActionList Subscriptions
Tool to list the current subscriptions for the authenticated user or app. use this to retrieve details of existing webhook subscriptions.
- ActionMove Item
Tool 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.
- ActionOnedrive Create Folder
Creates 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.
- ActionOnedrive Create Text File
Creates 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.
- ActionOnedrive Find File
Non-recursively finds an item (file or folder) in a specified onedrive folder; if `folder` is provided as a path, it must actually exist.
- ActionOnedrive Find Folder
Finds folders by name within an accessible parent folder in onedrive, or lists all its direct child folders if no name is specified.
- ActionOnedrive List Items
Retrieves all files and folders as `driveitem` resources from the root of a specified user's onedrive, automatically handling pagination.
- ActionPreview Drive Item
Generates 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.
- ActionSearch Items
Searches for driveitems in onedrive that match the specified query. use this to find files or folders based on keywords.
- ActionUpdate Drive Item Metadata
Tool 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.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.
Not listed?
Need a trigger or action that is not here?
Ask your agent. Describe what you need in plain language and it reads the OneDrive API documentation, builds the operation at whatever depth the API allows, tests every branch and ships it. The list above is what exists today, not the limit.