Rename item
drive_renameRename a file or folder without moving it. Use drive_move to change its parent folder.
Instructions
Rename a file or folder in place (same parent). To change folders use drive_move.
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>",
"newName": "<newName>"
},
"name": "drive_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute remote path to rename. | |
| newName | Yes | New filename (not a path — just the name, e.g. 'report-v2.pdf'). |