> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Drive move file

> Move a Google Drive file HERO created into a different folder. Call drive_search first if you need the file's current parent — Drive requires the folder…

`drive_move_file`

Move a Google Drive file HERO created into a different folder. Call `drive_search` first if you need the file's current parent — Drive requires the folder being left as well as the one being joined.

## Parameters

<ParamField path="fileId" type="string" required>
  Drive file id.
</ParamField>

<ParamField path="addParentId" type="string" required>
  Destination folder id.
</ParamField>

<ParamField path="removeParentId" type="string">
  Current parent folder id to detach from.
</ParamField>
