Gdrive Write File
gdrive_write_fileWrites or overwrites a text file in the synced Google Drive folder — it uploads automatically via the official client. Overwriting an existing file keeps its previous version first, in LMCP's own folder, and the answer says where (previous_version).
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": {
"path": "<path>",
"content": "<content>"
},
"name": "gdrive_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path under a Google Drive mount | |
| confirm | No | Ignored; kept for older clients. | |
| content | Yes | Text content to write |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| bytes | Yes | ||
| written | Yes | ||
| overwrote | Yes |