gdrive_rename
Rename a Google Drive file in place. Preview changes with dry_run before committing. Use file_id for stable identification when known.
Instructions
Rename a file in Google Drive.
Discovery: run gdrive_list_folder or gdrive_search first to obtain
file_name / file_id values.
Use this for: renaming files in place.
Not for: moving a file to a different folder — see gdrive_move.
Use dry_run=True to preview the change without committing.
Args: file_name: Current name of the file to rename new_name: New name for the file dry_run: Preview the rename without committing it file_id: Optional stable file ID (preferred when known)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| file_id | No | ||
| new_name | No | ||
| file_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |