Drive Save
drive_saveCreate a file in the connected Google Drive: a Google Doc (default) or a text/Markdown file from content, or copy the attachments of an e-mail there (mail_uid, optionally attachment to pick one by name). folder is a folder name; it is created when it does not exist yet (only folders emdly made are found). Returns the links. Never store credentials.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "drive_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | File name, for a new file from `content`. | |
| folder | No | Folder name to save into; created when missing. | |
| format | No | doc (a Google Doc, default), markdown or text. | |
| account | No | Google account e-mail to act as, when you have several; an agent uses the account connected to it. | |
| content | No | The text of the new file (Markdown is fine). | |
| mailbox | No | The mailbox of that message, when several are connected. | |
| mail_uid | No | Save the attachments of this message (uid from mail_search) instead. | |
| attachment | No | Only the attachment with this file name. | |
| mail_folder | No | The mail folder of that message (default INBOX). |