transfer_drive_ownership
Transfers ownership of a Google Drive file or folder to another user, making the current owner an editor. Use for irreversible handoffs within the same Workspace domain or personal accounts.
Instructions
Transfers ownership of a Google Drive file or folder to another user.
This is an irreversible operation. The current owner will become an editor. Only works within the same Google Workspace domain or for personal accounts.
Args: user_google_email (str): The user's Google email address. Required. file_id (str): The ID of the file or folder to transfer. Required. new_owner_email (str): Email address of the new owner. Required. move_to_new_owners_root (bool): If True, moves the file to the new owner's My Drive root. Defaults to False.
Returns: str: Confirmation of the ownership transfer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user_google_email": "<user_google_email>",
"file_id": "<file_id>",
"new_owner_email": "<new_owner_email>"
},
"name": "transfer_drive_ownership"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| new_owner_email | Yes | ||
| user_google_email | Yes | ||
| move_to_new_owners_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |