move_file
Moves a file from one location to another, automatically creating any missing parent directories and optionally cleaning up empty source folders.
Instructions
Move a file from source to destination. Creates parent directories if needed. Optionally cleans up empty parent directories.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"destination": "<destination>"
},
"name": "move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source file path | |
| destination | Yes | Destination file path | |
| cleanupEmpty | No | Remove empty parent directories after moving |