rename_file
Rename a file or directory on Cloudreve by specifying its remote path and a new name.
Instructions
Rename a remote file or directory.
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": {
"path": "<path>",
"new_name": "<new_name>"
},
"name": "rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Remote path or File URI | |
| new_name | Yes | New basename |