# `move_file` Move or rename a project file. **Input** — `path` (required, the file as it is now), `to` (required, where it should go) Only files; directories are refused, as with the other file tools. Parent directories of the destination are created if they don't exist. An existing file at `to` is refused rather than overwritten — a silent overwrite here is a deleted file nobody asked for. A case-only rename (`Foo.gd` → `foo.gd`) is allowed, since on Android's case-insensitive storage the destination would otherwise look like it already exists. ## Sidecars The `.uid`/`.import` files beside it move too, for the reason [`delete_file`](delete_file.md) removes them: a `.uid` left behind points at a script that is no longer at that path. Moving the `.import` keeps an asset's import settings and identity instead of orphaning them. ## What it refuses **Directories**, so a tree can't be relocated in one call. **Anything touching the addon's own files** — moving them out, or moving something else in over them — since that removes the code running the call, and the dock and its MCP server with it.