rename
Change the name of a file or folder on Yandex Disk by specifying its path and the new name. Keeps the item in the same directory.
Instructions
Rename a file or folder (moves it within the same directory).
Args: path: Full path of the item (e.g. "/Documents/old_name.txt"). new_name: New name without path (e.g. "new_name.txt").
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| new_name | Yes |