All integrations
Files, Artifacts & Dashboards9 actions

OneDrive for Business

Document operations - search, read, edit, create, and share files

What agents can do in OneDrive for Business

onedrive_create_folder

Create a new folder in the connected user's OneDrive.

onedrive_delete

Delete a file or folder from the connected user's OneDrive. Items are moved to the recycle bin (recoverable for 93 days), not permanently deleted. Deleting a folder also deletes all its contents.

onedrive_edit

Update the content of an existing file in the connected user's OneDrive. Supports text files (txt, md, json, csv, html) and Office documents (docx via markdown, xlsx via JSON, pptx via JSON). Provide expectedETag from a prior read to prevent overwriting concurrent changes. Note: Office doc editing replaces the entire document body; original formatting/images/macros are not preserved.

onedrive_list_folder

List the contents of a folder in the connected user's OneDrive. Returns files and subfolders with metadata (name, type, size, modified date). Lists root folder if no path/ID specified.

onedrive_read

Read the content of a file from the connected user's OneDrive. Supports any file type (text, Office docs, PDF). Large files are truncated at 100KB by default; use offset and limit to paginate. Returns the file's eTag for safe editing.

onedrive_rename

Rename a file or folder in the connected user's OneDrive.

onedrive_save

Create a new file in the connected user's OneDrive. Supports text files (txt, md, json, csv, html) and Office documents (docx via markdown, xlsx via JSON, pptx via JSON). Default conflict behavior is 'rename' (auto-renames if file exists).

onedrive_search

Search the connected user's OneDrive for documents by name or content. Returns file metadata (name, ID, path, size, date) but NOT file content. Use onedrive_read to read content.

onedrive_share

Share a file or folder from the connected user's OneDrive with another user in the same tenant. The recipient must have an email domain matching the tenant's verified business domains. External sharing is not supported.

Put OneDrive for Business on autopilot

Deploy AI agents that take these actions for you, with human-in-the-loop controls and a complete audit trail.