OneDrive for Business
Document operations - search, read, edit, create, and share files
What agents can do in OneDrive for Business
onedrive_create_folderCreate a new folder in the connected user's OneDrive.
onedrive_deleteDelete 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_editUpdate 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_folderList 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_readRead 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_renameRename a file or folder in the connected user's OneDrive.
onedrive_saveCreate 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_searchSearch 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_shareShare 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.