operations_movefile
Move a single file between cloud storage remotes and paths, with optional async execution for long transfers.
Instructions
Move a single file — Moves one object from a source remote and path to a destination remote and path.
IMPORTANT: If this operation is expected to take a long time (more than a few seconds), you MUST set _async: true to run it in the background. It will return a jobid immediately, which you can poll using the job_status tool.
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": "operations_movefile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dstFs | No | Destination remote name or path where the file will be moved. | |
| srcFs | No | Source remote name or path containing the file to move. | |
| _async | No | Run this operation asynchronously in the background. Highly recommended to set to true for long-running operations to avoid timeout. | |
| _group | No | Assign the request to a custom stats group. | |
| dstRemote | No | Destination path within `dstFs` for the moved object. | |
| srcRemote | No | Path to the source object within `srcFs`. |