move_file
Move or rename files and directories to a new path within allowed directories. Prevents accidental overwrites by failing when destination exists.
Instructions
Move or rename files and directories. Fails if the destination already exists.Both source and destination must resolve within allowed directories:
/app
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 path | |
| destination | Yes | Destination path |