Dropbox automation

From Zidong-IA/BIBLIOTECA · View interactive version

Dropbox automation is an AI agent skill from the GitHub repository Zidong-IA/BIBLIOTECA. Automate Dropbox file management, sharing, search, uploads, downloads, and folder operations via Rube MCP (Composio). Always search tools first for current schemas.

How to use this skill

Skill file

Dropbox Automation via Rube MCP

Automate Dropbox operations including file upload/download, search, folder management, sharing links, batch operations, and metadata retrieval through Composio's Dropbox 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 dropbox
  3. If connection is not ACTIVE, follow the returned auth link to complete Dropbox OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Search for Files and Folders

When to use: User wants to find files or folders by name, content, or type

Tool sequence:

  1. DROPBOX_SEARCH_FILE_OR_FOLDER - Search by query string with optional path scope and filters [Required]
  2. DROPBOX_SEARCH_CONTINUE - Paginate through additional results using cursor [Required if has_more]
  3. DROPBOX_GET_METADATA - Validate and get canonical path for a search result [Optional]
  4. DROPBOX_READ_FILE - Read file content to verify it is the intended document [Optional]

Key parameters:

Pitfalls:

2. Upload and Download Files

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

Tool sequence:

  1. DROPBOX_UPLOAD_FILE - Upload a file to a specified path [Required for upload]
  2. DROPBOX_READ_FILE - Download/read a file from Dropbox [Required for download]
  3. DROPBOX_DOWNLOAD_ZIP - Download an entire folder as a zip file [Optional]
  4. DROPBOX_SAVE_URL - Save a file from a public URL directly to Dropbox [Optional]
  5. DROPBOX_GET_SHARED_LINK_FILE - Download a file from a shared link URL [Optional]
  6. DROPBOX_EXPORT_FILE - Export non-downloadable files like Dropbox Paper to markdown/HTML [Optional]

Key parameters:

Pitfalls:

3. Share Files and Manage Links

When to use: User wants to create sharing links or manage existing shared links

Tool sequence:

  1. DROPBOX_GET_METADATA - Confirm file/folder exists and get canonical path [Prerequisite]
  2. DROPBOX_LIST_SHARED_LINKS - Check for existing shared links to avoid duplicates [Prerequisite]
  3. DROPBOX_CREATE_SHARED_LINK - Create a new shared link [Required]
  4. DROPBOX_GET_SHARED_LINK_METADATA - Resolve a shared link URL to metadata [Optional]
  5. DROPBOX_LIST_SHARED_FOLDERS - List all shared folders the user has access to [Optional]

Key parameters:

Pitfalls:

4. Manage Folders (Create, Move, Delete)

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

Tool sequence:

  1. DROPBOX_CREATE_FOLDER - Create a single folder [Required for create]
  2. DROPBOX_CREATE_FOLDER_BATCH - Create multiple folders at once [Optional]
  3. DROPBOX_MOVE_FILE_OR_FOLDER - Move or rename a single file/folder [Required for move]
  4. DROPBOX_MOVE_BATCH - Move multiple items at once [Optional]
  5. DROPBOX_DELETE_FILE_OR_FOLDER - Delete a single file or folder [Required for delete]
  6. DROPBOX_DELETE_BATCH - Delete multiple items at once [Optional]
  7. DROPBOX_COPY_FILE_OR_FOLDER - Copy a file or folder to a new location [Optional]
  8. DROPBOX_CHECK_MOVE_BATCH / DROPBOX_CHECK_FOLDER_BATCH - Poll async batch job status [Required for batch ops]

Key parameters:

Pitfalls:

5. List Folder Contents

When to use: User wants to browse or enumerate files in a Dropbox folder

Tool sequence:

  1. DROPBOX_LIST_FILES_IN_FOLDER - List contents of a folder [Required]
  2. DROPBOX_LIST_FOLDERS - Alternative folder listing with deleted entries support [Optional]
  3. DROPBOX_GET_METADATA - Get details for a specific item [Optional]

Key parameters:

Pitfalls:

Common Patterns

ID Resolution

Pagination

Dropbox uses cursor-based pagination across most endpoints:

Async Operations

Several Dropbox operations run asynchronously:

Known Pitfalls

Path Formats

Rate Limits

File Content

Sharing

Quick Reference

| Task | Tool Slug | Key Params |

|------|-----------|------------|

| Search files | DROPBOX_SEARCH_FILE_OR_FOLDER | query, options.path |

| Continue search | DROPBOX_SEARCH_CONTINUE | cursor |

| List folder | DROPBOX_LIST_FILES_IN_FOLDER | path, recursive, limit |

| List folders | DROPBOX_LIST_FOLDERS | path, recursive |

| Get metadata | DROPBOX_GET_METADATA | path |

| Read/download file | DROPBOX_READ_FILE | path |

| Upload file | DROPBOX_UPLOAD_FILE | path, content, mode |

| Save URL to Dropbox | DROPBOX_SAVE_URL | path, url |

| Download folder zip | DROPBOX_DOWNLOAD_ZIP | path |

| Export Paper doc | DROPBOX_EXPORT_FILE | path, export_format |

| Download shared link | DROPBOX_GET_SHARED_LINK_FILE | url |

| Create shared link | DROPBOX_CREATE_SHARED_LINK | path, settings |

| List shared links | DROPBOX_LIST_SHARED_LINKS | path, direct_only |

| Shared link metadata | DROPBOX_GET_SHARED_LINK_METADATA | url |

| List shared folders | DROPBOX_LIST_SHARED_FOLDERS | limit |

| Create folder | DROPBOX_CREATE_FOLDER | path |

| Create folders batch | DROPBOX_CREATE_FOLDER_BATCH | paths |

| Move file/folder | DROPBOX_MOVE_FILE_OR_FOLDER | from_path, to_path |

| Move batch | DROPBOX_MOVE_BATCH | entries |

| Delete file/folder | DROPBOX_DELETE_FILE_OR_FOLDER | path |

| Delete batch | DROPBOX_DELETE_BATCH | entries |

| Copy file/folder | DROPBOX_COPY_FILE_OR_FOLDER | from_path, to_path |

| Check batch status | DROPBOX_CHECK_MOVE_BATCH | async_job_id |

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.