file_move
Move or rename files and folders within or across storages without overwriting existing items; use the returned free name if the destination is taken.
Instructions
Move or rename a file/folder, within a storage or across two (the bytes are copied and verified, then the source is removed). Never overwrites: if dst is taken the item lands on a free name beside it (rapor-copy.txt), so use the returned entry.path - it may differ from what you asked for. entry.type says what moved: "dir" for a folder, "file" for a file. Moving an item onto its own path does nothing. A folder moved across storages that holds links filex cannot follow is copied WITHOUT them and its source is KEPT: then entry.source_kept is true and entry.left_behind names each one - a success, do not retry.
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": {
"src": "<src>",
"dst": "<dst>"
},
"name": "file_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | Yes | destination adapter://path (same storage) | |
| src | Yes | source adapter://path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | Yes |