drive_permissions_transferOwnership
Transfer file ownership to another Google Workspace account in the same organization. Immediately changes the current owner to writer and notifies the new owner, no acceptance step required. Works only for files in My Drive.
Instructions
Immediately transfer ownership of a file to another Google Workspace account in the SAME organization. The current owner is downgraded to writer as soon as this call succeeds — there is no separate acceptance step — and Google sends the new owner a notification email that cannot be disabled. Only works for files in "My Drive"; not supported for files in a shared drive, since the organization owns those, not an individual. For a transfer between personal/consumer Google accounts, use drive_permissions_proposeOwnershipTransfer instead, which requires the recipient's separate acceptance and does not transfer ownership immediately. Google Workspace ownership cannot be transferred to an account outside the organization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Fields to return (e.g. "id,role,type,emailAddress") | |
| fileId | Yes | The file to transfer (must be in "My Drive", not a shared drive) | |
| emailAddress | Yes | Email address of the new owner, in the same Workspace organization | |
| moveToNewOwnersRoot | No | If true, moves the file to the new owner's My Drive root and removes prior parents |