Move or rename a file or directory in a sandbox
move_fileMove or rename a file or directory inside a sandbox, across /home/user and /tmp. Creates missing parent directories and requires file.write permission; symlinks move themselves, not their targets.
Instructions
Move or rename a file or directory in a sandbox. Works across /home/user and /tmp. A symlink is moved itself, never its target. Needs file.write.
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": {
"sandboxId": "<sandboxId>",
"source": "<source>",
"destination": "<destination>"
},
"name": "move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| overwrite | No | Replace an existing destination. Without it, an existing destination is an error. | |
| sandboxId | Yes | Public Sandbox id returned by create/list/get sandbox calls. | |
| destination | Yes | The new full path. Missing parent directories are created. |