Write a Google Drive file
google_drive_uploadWrite a text file (up to 4 MB) into a Drive folder (My Drive when folder_id is left out). If a file with that name exists the new one gets a " (1)" name, unless if_exists is replace (which waits for the owner's approval by default) or fail. $0.001. Costs $0.001 per call; nothing if it fails.
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": {
"name": "<name>",
"content": "<content>"
},
"name": "google_drive_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| content | Yes | ||
| mailbox | No | One of the mailboxes the agent may act as; optional when only one is connected. | |
| folder_id | No | ||
| if_exists | No | rename |