dropbox-automation
Original:🇺🇸 English
Not Translated
Automate Dropbox file management, sharing, search, uploads, downloads, and folder operations via Rube MCP (Composio). Always search tools first for current schemas.
2installs
Added on
NPX Install
npx skill4agent add aaaaqwq/claude-code-skills dropbox-automationSKILL.md Content
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
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Dropbox connection via with toolkit
RUBE_MANAGE_CONNECTIONSdropbox - Always call first to get current tool schemas
RUBE_SEARCH_TOOLS
Setup
Get Rube MCP: Add as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
https://rube.app/mcp- Verify Rube MCP is available by confirming responds
RUBE_SEARCH_TOOLS - Call with toolkit
RUBE_MANAGE_CONNECTIONSdropbox - If connection is not ACTIVE, follow the returned auth link to complete Dropbox OAuth
- 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:
- - Search by query string with optional path scope and filters [Required]
DROPBOX_SEARCH_FILE_OR_FOLDER - - Paginate through additional results using cursor [Required if has_more]
DROPBOX_SEARCH_CONTINUE - - Validate and get canonical path for a search result [Optional]
DROPBOX_GET_METADATA - - Read file content to verify it is the intended document [Optional]
DROPBOX_READ_FILE
Key parameters:
- : Search string (case-insensitive, 1+ non-whitespace characters)
query - : Scope search to a folder (e.g.,
options.path); empty string for root"/Documents" - : Filter by type (
options.file_categories,"image","document","pdf", etc.)"folder" - : Filter by extension (e.g.,
options.file_extensions)["jpg", "png"] - : Set
options.filename_onlyto match filenames only (not content)true - : Results per page (default 100, max 1000)
options.max_results
Pitfalls:
- Search returns with a
has_more: truewhen more results exist; MUST continue to avoid silently missing matchescursor - Maximum 10,000 matches total across all pages of search + search_continue
- returned
DROPBOX_GET_METADATAmay differ in casing from user input; always use the returned canonical pathpath_display - File content from may be returned as base64-encoded
DROPBOX_READ_FILE; decode before parsingfile_content_bytes
2. Upload and Download Files
When to use: User wants to upload files to Dropbox or download files from it
Tool sequence:
- - Upload a file to a specified path [Required for upload]
DROPBOX_UPLOAD_FILE - - Download/read a file from Dropbox [Required for download]
DROPBOX_READ_FILE - - Download an entire folder as a zip file [Optional]
DROPBOX_DOWNLOAD_ZIP - - Save a file from a public URL directly to Dropbox [Optional]
DROPBOX_SAVE_URL - - Download a file from a shared link URL [Optional]
DROPBOX_GET_SHARED_LINK_FILE - - Export non-downloadable files like Dropbox Paper to markdown/HTML [Optional]
DROPBOX_EXPORT_FILE
Key parameters:
- : Dropbox path (must start with
path, e.g.,/)"/Documents/report.pdf" - :
mode(default, fail on conflict) or"add"for uploads"overwrite" - :
autorenameto auto-rename on conflict instead of failingtrue - : FileUploadable object with
content,s3key, andmimetypefor uploadsname - : Public URL for
urlDROPBOX_SAVE_URL - :
export_format,"markdown", or"html"for Paper docs"plain_text"
Pitfalls:
- is asynchronous and may take up to 15 minutes for large files
DROPBOX_SAVE_URL - folder must be under 20 GB with no single file over 4 GB and fewer than 10,000 entries
DROPBOX_DOWNLOAD_ZIP - content may be base64-encoded; check response format
DROPBOX_READ_FILE - Shared link downloads via may require
DROPBOX_GET_SHARED_LINK_FILEfor protected linkslink_password
3. Share Files and Manage Links
When to use: User wants to create sharing links or manage existing shared links
Tool sequence:
- - Confirm file/folder exists and get canonical path [Prerequisite]
DROPBOX_GET_METADATA - - Check for existing shared links to avoid duplicates [Prerequisite]
DROPBOX_LIST_SHARED_LINKS - - Create a new shared link [Required]
DROPBOX_CREATE_SHARED_LINK - - Resolve a shared link URL to metadata [Optional]
DROPBOX_GET_SHARED_LINK_METADATA - - List all shared folders the user has access to [Optional]
DROPBOX_LIST_SHARED_FOLDERS
Key parameters:
- : File or folder path for link creation
path - :
settings.audience,"public", or"team""no_one" - :
settings.accessor"viewer""editor" - : ISO 8601 expiration date (e.g.,
settings.expires)"2026-12-31T23:59:59Z" - /
settings.require_password: Password protectionsettings.link_password - : Boolean for download permission
settings.allow_download - : For
direct_only, setLIST_SHARED_LINKSto only return direct links (not parent folder links)true
Pitfalls:
- fails with 409 Conflict if a shared link already exists for the path; check with
DROPBOX_CREATE_SHARED_LINKfirstDROPBOX_LIST_SHARED_LINKS - Always validate path with before creating links to avoid
DROPBOX_GET_METADATAerrorspath/not_found - Reuse existing links from instead of creating duplicates
DROPBOX_LIST_SHARED_LINKS - is deprecated; use
requested_visibilityfor newer implementationsaudience
4. Manage Folders (Create, Move, Delete)
When to use: User wants to create, move, rename, or delete files and folders
Tool sequence:
- - Create a single folder [Required for create]
DROPBOX_CREATE_FOLDER - - Create multiple folders at once [Optional]
DROPBOX_CREATE_FOLDER_BATCH - - Move or rename a single file/folder [Required for move]
DROPBOX_MOVE_FILE_OR_FOLDER - - Move multiple items at once [Optional]
DROPBOX_MOVE_BATCH - - Delete a single file or folder [Required for delete]
DROPBOX_DELETE_FILE_OR_FOLDER - - Delete multiple items at once [Optional]
DROPBOX_DELETE_BATCH - - Copy a file or folder to a new location [Optional]
DROPBOX_COPY_FILE_OR_FOLDER - /
DROPBOX_CHECK_MOVE_BATCH- Poll async batch job status [Required for batch ops]DROPBOX_CHECK_FOLDER_BATCH
Key parameters:
- : Target path (must start with
path, case-sensitive)/ - /
from_path: Source and destination for move/copy operationsto_path - :
autorenameto auto-rename on conflicttrue - : Array of
entriesfor batch moves; array of paths for batch creates{from_path, to_path} - : Set
allow_shared_folderto allow moving shared folderstrue - : Set
allow_ownership_transferif move changes ownershiptrue
Pitfalls:
- All paths are case-sensitive and must start with
/ - Paths must NOT end with or whitespace
/ - Batch operations may be asynchronous; poll with or
DROPBOX_CHECK_MOVE_BATCHDROPBOX_CHECK_FOLDER_BATCH - (v1) has "all or nothing" behavior - if any entry fails, entire batch fails
DROPBOX_FILES_MOVE_BATCH - (v2) is preferred over
DROPBOX_MOVE_BATCH(v1)DROPBOX_FILES_MOVE_BATCH - Maximum 1000 entries per batch delete/move; 10,000 paths per batch folder create
- Case-only renaming is not supported in batch move operations
5. List Folder Contents
When to use: User wants to browse or enumerate files in a Dropbox folder
Tool sequence:
- - List contents of a folder [Required]
DROPBOX_LIST_FILES_IN_FOLDER - - Alternative folder listing with deleted entries support [Optional]
DROPBOX_LIST_FOLDERS - - Get details for a specific item [Optional]
DROPBOX_GET_METADATA
Key parameters:
- : Folder path (empty string
pathfor root)"" - :
recursiveto list all nested contentstrue - : Max results per request (default/max 2000)
limit - :
include_deletedto include deleted but recoverable itemstrue - :
include_media_infoto get photo/video metadatatrue
Pitfalls:
- Use empty string for root folder, not
"""/" - Recursive listings can be very large; use to control page size
limit - Results may paginate via cursor even with small limits
- returns 409 Conflict with
DROPBOX_LIST_FILES_IN_FOLDERfor incorrect pathspath/not_found
Common Patterns
ID Resolution
- Path-based: Most Dropbox tools use path strings (e.g., )
"/Documents/file.pdf" - ID-based: Some tools accept format (e.g.,
id:...)"id:4g0reWVRsAAAAAAAAAAAQ" - Canonical path: Always use or
path_displayfrompath_lowerresponses for subsequent callsDROPBOX_GET_METADATA - Shared link URL: Use to resolve URLs to paths/IDs
DROPBOX_GET_SHARED_LINK_METADATA
Pagination
Dropbox uses cursor-based pagination across most endpoints:
- Search: Follow +
has_morewithcursor(max 10,000 total matches)DROPBOX_SEARCH_CONTINUE - Folder listing: Follow cursor from response until no more pages
- Shared links: Follow +
has_moreincursorDROPBOX_LIST_SHARED_LINKS - Batch job status: Poll with /
DROPBOX_CHECK_MOVE_BATCHDROPBOX_CHECK_FOLDER_BATCH
Async Operations
Several Dropbox operations run asynchronously:
- - returns job ID; poll or set
DROPBOX_SAVE_URL(up to 120s default)wait: true - /
DROPBOX_MOVE_BATCH- may return job IDDROPBOX_FILES_MOVE_BATCH - - may return job ID
DROPBOX_CREATE_FOLDER_BATCH - - returns job ID
DROPBOX_DELETE_BATCH
Known Pitfalls
Path Formats
- All paths must start with (except empty string for root in some endpoints)
/ - Paths must NOT end with or contain trailing whitespace
/ - Paths are case-sensitive for write operations
- from API may differ in casing from user input; always prefer API-returned paths
path_display
Rate Limits
- Dropbox API has per-endpoint rate limits; batch operations help reduce call count
- Search is limited to 10,000 total matches across all pagination
- has a 15-minute timeout for large files
DROPBOX_SAVE_URL
File Content
- may return content as base64-encoded
DROPBOX_READ_FILEfile_content_bytes - Non-downloadable files (Dropbox Paper, Google Docs) require instead
DROPBOX_EXPORT_FILE - Download URLs from shared links require proper authentication headers
Sharing
- Creating a shared link when one already exists returns a 409 Conflict error
- Always check before creating new links
DROPBOX_LIST_SHARED_LINKS - Shared folder access may not appear in standard path listings; use
DROPBOX_LIST_SHARED_FOLDERS
Quick Reference
| Task | Tool Slug | Key Params |
|---|---|---|
| Search files | | |
| Continue search | | |
| List folder | | |
| List folders | | |
| Get metadata | | |
| Read/download file | | |
| Upload file | | |
| Save URL to Dropbox | | |
| Download folder zip | | |
| Export Paper doc | | |
| Download shared link | | |
| Create shared link | | |
| List shared links | | |
| Shared link metadata | | |
| List shared folders | | |
| Create folder | | |
| Create folders batch | | |
| Move file/folder | | |
| Move batch | | |
| Delete file/folder | | |
| Delete batch | | |
| Copy file/folder | | |
| Check batch status | | |