What can you do with it?
OneDrive enables you to manage your cloud files and folders programmatically. You can list files and folders in any directory, search for specific files across your entire drive, upload new files or create folders, download files for viewing or processing, move and copy files between locations, share files with others through links or invitations, and access special folders like Desktop or Documents. This integration is perfect for file backup automation, document management workflows, content synchronization, and building applications that interact with cloud storage.How to use it?
Basic Command Structure
Parameters
Required:action
- The operation to perform with OneDrivepc-connection-id
- Your PinkConnect OneDrive connection ID
Tools
List Items
List files and folders in a directory Parameters:folder-path
(optional) - Path to the folder (default: root)
Search Items
Search for files and folders by name Parameters:search-query
(required) - Search term for file or folder names
Upload File
Upload a new file to OneDrive Parameters:file-path
(required) - Destination path including filenamecontent
(required) - File content to upload
Download File
Download a file from OneDrive Parameters:item-id
(required) - The ID of the file to download
Create Folder
Create a new folder in OneDrive Parameters:parent-path
(required) - Parent folder pathfolder-name
(required) - Name for the new folder
Move Item
Move a file or folder to a new location Parameters:item-id
(required) - The ID of the item to movedestination-folder-id
(required) - The ID of the destination folder
Create Share Link
Generate a shareable link for a file Parameters:item-id
(required) - The ID of the file to sharelink-type
(optional) - Type of link: view or edit (default: view)scope
(optional) - Link scope: anonymous or organization (default: anonymous)