Google Drive
GoogleDrive_RenameFile
Rename a file or folder in Google Drive. By default, paths are resolved in My Drive. For files in shared drives, either use the file ID directly or provide the shared_drive_id parameter.
Remote googledrive
Remote (network-hosted)
Other tools also called GoogleDrive_RenameFile?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"new_filename": {
"type": "string",
"description": "The new name for the file"
},
"file_path_or_id": {
"type": "string",
"description": "The path like folder/subfolder/filename or the file ID to rename. If providing a path, it will be resolved within 'My Drive' by default."
},
"shared_drive_id": {
"type": "string",
"description": "If the file is in a shared drive and you're using a path (not ID), provide the shared drive ID to resolve the path within that drive. Not needed when using file IDs. Defaults to None (searches 'My Drive')."
}
}
}