OneDrive

by Microsoft

Upload, download, list, and manage files and folders in Microsoft OneDrive and SharePoint document libraries

StorageFree / PaidOAuth 2.0storagefilesmicrosoftsharepointclouddocuments

How agents use OneDrive

  • Agent uploads generated reports or exports to a shared OneDrive folder after completing a data task
  • Agent reads files from OneDrive to extract, summarize, or process their content
  • Agent organizes uploaded documents into dated folder structures for archiving compliance
  • Agent creates shareable links for files and sends them to stakeholders via email or Slack
  • Agent syncs new documents from a SharePoint library to downstream systems for processing

Agent actions

List Files & FoldersList the contents of a folder in OneDrive

Inputs: folderPath, filter

Returns: items, total

Get FileRetrieve metadata for a file or folder by path or ID

Inputs: itemPath

Returns: item, downloadUrl, size

Upload FileUpload a file to OneDrive (supports files up to 250 MB)

Inputs: destinationPath, content, conflictBehavior

Returns: item, itemId, webUrl

Download FileDownload file content from OneDrive

Inputs: itemPath

Returns: content, fileName, mimeType

Create FolderCreate a new folder in OneDrive

Inputs: parentPath, folderName

Returns: folder, folderId

Delete File or FolderDelete a file or folder (moved to recycle bin)

Inputs: itemPath

Returns: success

Copy FileCopy a file or folder to another location

Inputs: sourcePath, destinationPath, newName

Returns: operationUrl

Create Sharing LinkGenerate a shareable link for a file or folder

Inputs: itemPath, type, scope, expirationDateTime

Returns: shareUrl, permission

Example workflows

  1. 1

    Automated report archiving

    Save generated reports to a structured OneDrive folder hierarchy organized by date

  2. 2

    SharePoint document processing

    Monitor a SharePoint library, download new files, process them, and upload results

About OneDrive

Vendor
Microsoft
Pricing Always review details with the vendor
Free / Paid — Free: 5 GB personal storage. Microsoft 365 plans include 1 TB+. API is free with a Microsoft account.
Authentication
OAuth 2.0
Rate limit Always review details with the vendor
600 requests / minute
Compatible nodes
AgentResourceInputOutput

Put OneDrive behind your AI agent

Add OneDrive alongside your other tools in the planner, without code, and map out how your AI agent works with it.

Open the planner →

Questions about OneDrive

Agent uploads generated reports or exports to a shared OneDrive folder after completing a data task Agent reads files from OneDrive to extract, summarize, or process their content Agent organizes uploaded documents into dated folder structures for archiving compliance Agent creates shareable links for files and sends them to stakeholders via email or Slack Agent syncs new documents from a SharePoint library to downstream systems for processing

List Files & Folders, Get File, Upload File, Download File, Create Folder, Delete File or Folder, Copy File, Create Sharing Link

You add OneDrive in the Fugentic planner, a no-code canvas for mapping out what your business does and which tools sit behind it. It shows how an AI agent would work with OneDrive. Try it free at fugentic.ai/solutions/agentic-planner.

Related Storage tools