rename_drive_item
Renames a file or folder in its current folder. Prevents duplicate names among siblings; use move to change folders.
Instructions
Rename a Drive item, meaning a file or folder, in its current folder. Idempotent when the title is unchanged. Rejects sibling title collisions; use move_drive_item to change folders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drive | Yes | a string that will be trimmed | |
| path | No | a string that will be trimmed | |
| itemId | No | a string that will be trimmed | |
| title | Yes | a string that will be trimmed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The successful tool result. The same value is also serialized as JSON in the text content for clients that do not read structuredContent. | |
| warnings | No | Optional agent-visible warnings about degraded result fidelity. Omitted when the server returned the documented happy-path payload. |