Skip to main content

Rename Drive item

Give a file or folder a new name.

Command in the Google Workspace toolkit · id ooa.google/drive_rename_item · 5 inputs (2 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialYesGoogle OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
Item IDStringNoFile or folder id; or give item_path instead.
New nameStringYesNew name.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.
Item pathStringNoPath of the file or folder under My Drive, used instead of item_id.