Skip to main content
Server path: /onedrive | Type: Application | PCID required: Yes

Tools


onedrive_copy_item

Copy a file or folder to a new location in OneDrive Parameters:

onedrive_create_file

Create a new file in OneDrive Parameters:

onedrive_create_folder

Create a new folder in OneDrive Parameters:
Create a sharing link for a file or folder in OneDrive Parameters:

onedrive_delete_item

Delete a file or folder in OneDrive Parameters:

onedrive_download_file

Download a file from OneDrive and store it as an artifact. Returns a link to the stored file, metadata, and a text preview for supported types (PDF, DOCX, XLSX, PPTX). NEVER use this tool for files that are supported by the microsoft excel, powerpoint, and word tools. Parameters:

onedrive_extract_msg_files

Extract and parse .msg files from a OneDrive folder Parameters:

onedrive_filter_files_by_extension

Filter files by extension in a folder and its subfolders Parameters:

onedrive_get_item

Get details about a specific file or folder by ID in OneDrive Parameters:

onedrive_get_item_by_path

Get details about a specific file or folder by path in OneDrive Parameters:

onedrive_get_shared_items

Get items shared with you in OneDrive Parameters:

onedrive_list_folder_contents

List folder contents recursively or get file details Parameters:

onedrive_list_items

List files and folders in OneDrive Parameters:

onedrive_move_item

Move a file or folder to a new location in OneDrive Parameters:

onedrive_rename_item

Rename a file or folder in OneDrive Parameters:

onedrive_search_items

Search for files and folders in OneDrive. Two search modes: (1) FUZZY SEARCH (default): Full-text search across filenames and content. Without folderId, searches recursively through entire OneDrive. With folderId, only returns direct children of that folder (not recursive into subfolders). (2) EXACT MATCH: Find files with an exact filename, only searches direct children of the folder (not recursive). NOTE: Fuzzy search may not find recently uploaded files for several minutes due to OneDrive indexing delays. Use exact match with folderId for immediate results, or use onedrive_list_children. Parameters:

onedrive_upload_file

Upload a file to OneDrive. Provide either fileUrl (to upload from a URL) or fileContent (base64 encoded content), but not both. NOTE: Newly uploaded files may not appear in search results for several minutes due to OneDrive indexing delays. Use onedrive_list_children or onedrive_get_item_by_path for immediate access. Parameters: