rename_item
Rename a file or folder on a Synology NAS by providing the full path and the new name.
Instructions
Rename a file or folder.
Args: path: Full path of the item to rename new_name: New name only (not a full path)
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_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| new_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |