Home / Market / one drive automation

one drive automation

Automate OneDrive file management, search, uploads, downloads, sharing, permissions, and folder operations via Rube MCP (Composio). Always search tools first for current schemas.

skill★ 508790 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: one-drive-automation description: "Automate OneDrive file management, search, uploads, downloads, sharing, permissions, and folder operations via Rube MCP (Composio). Always search tools first for current schemas." risk: critical source: community date_added: "2026-02-27"

---

OneDrive Automation via Rube MCP

Automate OneDrive operations including file upload/download, search, folder management, sharing links, permissions management, and drive browsing through Composio's OneDrive toolkit.

Prerequisites

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit one_drive
  3. If connection is not ACTIVE, follow the returned auth link to complete Microsoft OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Search and Browse Files

When to use: User wants to find files or browse folder contents in OneDrive

Tool sequence:

  1. ONE_DRIVE_GET_DRIVE - Verify drive access and get drive details [Prerequisite]
  2. ONE_DRIVE_SEARCH_ITEMS - Keyword search across filenames, metadata, and content [Required]
  3. ONE_DRIVE_ONEDRIVE_LIST_ITEMS - List all items in the root of a drive [Optional]
  4. ONE_DRIVE_GET_ITEM - Get detailed metadata for a specific item, expand children [Optional]
  5. ONE_DRIVE_ONEDRIVE_FIND_FILE - Find a specific file by exact name in a folder [Optional]
  6. ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Find a specific folder by name [Optional]
  7. ONE_DRIVE_LIST_DRIVES - List all accessible drives [Optional]

Key parameters:

Pitfalls:

2. Upload and Download Files

When to use: User wants to upload files to OneDrive or download files from it

Tool sequence:

  1. ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Locate the target folder [Prerequisite]
  2. ONE_DRIVE_ONEDRIVE_UPLOAD_FILE - Upload a file to a specified folder [Required for upload]
  3. ONE_DRIVE_DOWNLOAD_FILE - Download a file by item ID [Required for download]
  4. ONE_DRIVE_GET_ITEM - Get file details before download [Optional]

Key parameters:

Pitfalls:

3. Share Files and Manage Permissions

When to use: User wants to share files/folders or manage who has access

Tool sequence:

  1. ONE_DRIVE_ONEDRIVE_FIND_FILE or ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Locate the item [Prerequisite]
  2. ONE_DRIVE_GET_ITEM_PERMISSIONS - Check current permissions [Prerequisite]
  3. ONE_DRIVE_INVITE_USER_TO_DRIVE_ITEM - Grant access to specific users [Required]
  4. ONE_DRIVE_CREATE_LINK - Create a shareable link [Optional]
  5. ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATA - Update item metadata [Optional]

Key parameters:

Pitfalls:

4. Manage Folders (Create, Move, Delete, Copy)

When to use: User wants to create, move, rename, delete, or copy files and folders

Tool sequence:

  1. ONE_DRIVE_ONEDRIVE_FIND_FOLDER - Locate source and destination folders [Prerequisite]
  2. ONE_DRIVE_ONEDRIVE_CREATE_FOLDER - Create a new folder [Required for create]
  3. ONE_DRIVE_MOVE_ITEM - Move a file or folder to a new location [Required for move]
  4. ONE_DRIVE_COPY_ITEM - Copy a file or folder (async operation) [Required for copy]
  5. ONE_DRIVE_DELETE_ITEM - Move item to recycle bin [Required for delete]
  6. ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATA - Rename or update item properties [Optional]

Key parameters:

Pitfalls:

5. Track Changes and Drive Information

When to use: User wants to monitor changes or get drive/quota information

Tool sequence:

  1. ONE_DRIVE_GET_DRIVE - Get drive properties and metadata [Required]
  2. ONE_DRIVE_GET_QUOTA - Check storage quota (total, used, remaining) [Optional]
  3. ONE_DRIVE_LIST_SITE_DRIVE_ITEMS_DELTA - Track changes in SharePoint site drives [Optional]
  4. ONE_DRIVE_GET_ITEM_VERSIONS - Get version history of a file [Optional]

Key parameters:

Pitfalls:

Common Patterns

ID Resolution

ID formats vary by platform:

Pagination

OneDrive uses token-based pagination:

Path vs ID

Most OneDrive tools accept either paths or IDs:

Known Pitfalls

ID Formats

Rate Limits

Search Limitations

Parameter Quirks

Quick Reference

| Task | Tool Slug | Key Params | |------|-----------|------------| | Search files | ONE_DRIVE_SEARCH_ITEMS | q, search_scope, top | | List root items | ONE_DRIVE_ONEDRIVE_LIST_ITEMS | user_id, select, top | | Get item details | ONE_DRIVE_GET_ITEM | item_id, expand_relations | | Find file by name | ONE_DRIVE_ONEDRIVE_FIND_FILE | name, folder | | Find folder by name | ONE_DRIVE_ONEDRIVE_FIND_FOLDER | name, folder | | Upload file | ONE_DRIVE_ONEDRIVE_UPLOAD_FILE | file, folder | | Download file | ONE_DRIVE_DOWNLOAD_FILE | item_id, file_name | | Create folder | ONE_DRIVE_ONEDRIVE_CREATE_FOLDER | name, parent_folder | | Move item | ONE_DRIVE_MOVE_ITEM | itemId, parentReference | | Copy item | ONE_DRIVE_COPY_ITEM | item_id, parent_reference, name | | Delete item | ONE_DRIVE_DELETE_ITEM | item_id | | Share with users | `ONE_DRIVE_