Available now

35 things your agent can do in 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

Docs, Files & Notes9 triggersSign in with your account (OAuth)

Every action, grouped by what it does

You do not pick these by hand. Describe what the agent should do and Squidgy grants the matching ones — an agent told to draft replies gets the drafting action and not the sending one.

Read

25
  • Download a file

    Downloads a file from a user's onedrive using its item id, which must refer to a file and not a folder.

    ONE_DRIVE_DOWNLOAD_FILE
  • Get 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…

    ONE_DRIVE_GET_DRIVE
  • Get Item Metadata

    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…

    ONE_DRIVE_GET_ITEM
  • Get 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.

    ONE_DRIVE_GET_ITEM_PERMISSIONS
  • Get Item Thumbnails

    Tool to retrieve the thumbnails associated with a driveitem. use when you need to display visual previews of files.

    ONE_DRIVE_GET_ITEM_THUMBNAILS
  • Get 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.

    ONE_DRIVE_GET_ITEM_VERSIONS
  • Get Drive 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.

    ONE_DRIVE_GET_QUOTA
  • Get 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 a…

    ONE_DRIVE_GET_RECENT_ITEMS
  • Get 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.

    ONE_DRIVE_GET_SHARED_ITEMS
  • Get SharePoint List Items

    Tool 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.

    ONE_DRIVE_GET_SHAREPOINT_LIST_ITEMS
  • Get Site Details

    Retrieves 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.

    ONE_DRIVE_GET_SITE_DETAILS
  • Get SharePoint Site Page Content

    Gets 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.

    ONE_DRIVE_GET_SITE_PAGE_CONTENT
  • List 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.

    ONE_DRIVE_LIST_DRIVES
  • List 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.

    ONE_DRIVE_LIST_DRIVE_ITEM_ACTIVITIES
  • List 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.

    ONE_DRIVE_LIST_ROOT_DRIVE_CHANGES
  • List SharePoint List Items Delta

    Tool 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 colle…

    ONE_DRIVE_LIST_SHAREPOINT_LIST_ITEMS_DELTA
  • List Site Columns

    Tool 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.

    ONE_DRIVE_LIST_SITE_COLUMNS
  • List Site Drive Items Delta

    Tool 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…

    ONE_DRIVE_LIST_SITE_DRIVE_ITEMS_DELTA
  • List Site Lists

    Tool to list all lists under a specific sharepoint site. use when you need to enumerate lists within a known site.

    ONE_DRIVE_LIST_SITE_LISTS
  • List Site Subsites

    Tool to list all subsites of a sharepoint site. use when you need to retrieve a collection of subsites for a given parent site.

    ONE_DRIVE_LIST_SITE_SUBSITES
  • List Subscriptions

    Tool to list the current subscriptions for the authenticated user or app. use this to retrieve details of existing webhook subscriptions.

    ONE_DRIVE_LIST_SUBSCRIPTIONS
  • Find Item

    Non-recursively finds an item (file or folder) in a specified onedrive folder; if `folder` is provided as a path, it must actually exist.

    ONE_DRIVE_ONEDRIVE_FIND_FILE
  • 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.

    ONE_DRIVE_ONEDRIVE_FIND_FOLDER
  • List OneDrive items

    Retrieves all files and folders as `driveitem` resources from the root of a specified user's onedrive, automatically handling pagination.

    ONE_DRIVE_ONEDRIVE_LIST_ITEMS
  • Search Items

    Searches for driveitems in onedrive that match the specified query. use this to find files or folders based on keywords.

    ONE_DRIVE_SEARCH_ITEMS

Create & update

7
  • Create Sharing 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.

    ONE_DRIVE_CREATE_LINK
  • Delete 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,…

    ONE_DRIVE_DELETE_ITEM
  • Move 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.

    ONE_DRIVE_MOVE_ITEM
  • 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 a…

    ONE_DRIVE_ONEDRIVE_CREATE_FOLDER
  • Create a new 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…

    ONE_DRIVE_ONEDRIVE_CREATE_TEXT_FILE
  • Upload file

    Uploads a file to a specified onedrive folder, automatically renaming on conflict and supporting large files via chunking.

    ONE_DRIVE_ONEDRIVE_UPLOAD_FILE
  • Update 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.

    ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATA

Send & publish

1
  • Invite User to Drive Item

    Tool 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).

    ONE_DRIVE_INVITE_USER_TO_DRIVE_ITEM

Manage

2
  • Copy 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 as…

    ONE_DRIVE_COPY_ITEM
  • Preview 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.

    ONE_DRIVE_PREVIEW_DRIVE_ITEM

About connecting OneDrive

What can an AI agent do in OneDrive?

35 distinct actions, listed in full on this page — 25 to read, 7 to create & update, 1 to send & publish, 2 to manage. An agent gets the ones that match what you described it doing, not all of them at once.

How do I connect OneDrive?

Once, in Settings → Integrations. Sign in with your account (OAuth). The connection is yours, shared by every agent you build — you are not re-authorising per agent, and the agent never sees your credentials.

Can an agent react to something happening in OneDrive?

Yes — OneDrive exposes 9 triggers, so an agent can start work when something changes rather than waiting to be asked.

Others in Docs, Files & Notes

All 58 connectable apps · The agent builder

Chat with Squidgy