# move

Canonical URL: https://developers.iagenify.com/sdk/agent/tools/move/
Language: en

`move({ from, to })`

Move or rename a file or folder inside the workspace. It never overwrites.

Status: category: write · never overwrites · files and folders

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `from` | string | required | What to move. |
| `to` | string | required | Where. Parent folders are created. |

## A taken destination is a refusal {#no-overwrite}

Nothing is replaced. The agent is told both paths and picks another name — far better than a file quietly replaced by one of the same name.

## Renaming is the same call {#rename}

A move within one folder is a rename. There is no second tool and no flag: the destination says everything.

## A folder cannot go inside itself {#folders}

Refused before anything moves, rather than failing halfway with part of the tree already elsewhere.

- [delete](/sdk/agent/tools/delete): Removing, recoverably.
- [write](/sdk/agent/tools/write): Creating.
- [Agent tools](/sdk/agent/tools): The 35, by family.
