move_file
Move or rename files and directories between locations. Handles file transfers and name changes in one operation while ensuring destination paths don't already exist.
Instructions
Move or rename files and directories. Can move files between directories and rename them in a single operation. If the destination exists, the operation will fail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The current path of the file/directory | |
| destination | Yes | The new path for the file/directory |
Input Schema (JSON Schema)
{
"properties": {
"destination": {
"description": "The new path for the file/directory",
"type": "string"
},
"source": {
"description": "The current path of the file/directory",
"type": "string"
}
},
"required": [
"source",
"destination"
],
"type": "object"
}