save_gmail_attachment_to_drive
Save a Gmail attachment to Google Drive. Specify the message and part ID to transfer the file to your Drive with optional folder and rename.
Instructions
Save a Gmail attachment to Google Drive.
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_id": "<user_id>",
"message_id": "<message_id>",
"part_id": "<part_id>"
},
"name": "save_gmail_attachment_to_drive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The EMAIL of the Google account. Choose from: | |
| message_id | Yes | The ID of the Gmail message containing the attachment. | |
| part_id | Yes | The part ID of the attachment to save (e.g., '1', '0.1'). This is more stable than attachment_id and should be preferred. | |
| folder_id | No | Optional Google Drive folder ID to save to. If not provided, saves to root. | |
| rename | No | Optional new filename for the attachment. If not provided, uses original filename. |