Move or rename
move_pathMove or rename a file or folder within the same backend. Use it for same-backend renames or moves; the destination must not already exist.
Instructions
Move or rename a file or folder within one backend. Use when: renaming, or moving on the same backend - folders too. Instead: copy_file to keep the original; move_file_to_backend to another backend. Behavior: destructive for the old path. A repeat fails with 'target already exists'. Native rename (atomic locally); a backend without one copies, then deletes the source, and takes the copy back if that delete fails. dst's parent must exist; an existing dst is never replaced. A symlink moves itself; secret files cannot be moved. Time limit: 30 s. Returns: {ok: true}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "move_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | No | Its new path, including the new name; must not exist yet (absolute, or relative to the MCP root). Required unless dst_b64 is given. | |
| src | No | The file or folder to move (absolute, or relative to the MCP root). Required unless src_b64 is given. | |
| backend | No | Backend id from list_backends; omit for the default. | |
| dst_b64 | No | dst as base64 of its raw bytes, for non-UTF-8 names; replaces dst. | |
| src_b64 | No | src as base64 of its raw bytes, for non-UTF-8 names; replaces src. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |