View as Markdown
Dropbox icon

Dropbox ACTION

Move a File/Folder

Moves a file or folder to a different location in the user's Dropbox See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Dropbox account once, then configure and run Move a File/Folder from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "dropbox-move-file-folder",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    dropbox: { authProvisionId: "apn_xxxxxxx" },
    pathFrom: "Path From",
    pathTo: "Path To",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Move a File/Folder inputs
Property Type Description
pathFrom Path From string
Type the file or folder name to search for it in the user's Dropbox.
Required Dynamic
pathTo Path To string
Type the folder name to search for it in the user's Dropbox.
Required Dynamic
autorename Autorename boolean
If there's a conflict, have Dropbox try to autorename the folder to avoid the conflict.
Optional
allowOwnershipTransfer Allow Ownership Transfer boolean
Allow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
dropbox-move-file-folder
Version
0.0.15
App
Dropbox
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes