Move files
files_moveMove files or folders into a directory of the SAME deployment; the directory is created if missing. Never overwrites: a name already taken there is reported, not replaced. There is no move between two deployments: copying a file across leaves the original, so that is a copy, not a move.
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": {
"id": "<id>",
"files": "<files>",
"to": "<to>"
},
"name": "files_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| to | Yes | Destination directory, e.g. 'test' or 'src/old'. Created in this same call if missing, so no files.mkdir first. Empty or '/' = the root. | |
| files | Yes | Paths from the deployment root, e.g. ['index.js', 'lib/util.js']. |