update_google_doc
Update a Google Doc by uploading a local file; use dry_run to preview changes before applying.
Instructions
Upload content from a local file to its linked Google Doc. SAFETY: Defaults to dry_run=True. Usage must explicitly set dry_run=False to apply changes.
Args: user_google_email: The user's Google email address. Required. local_path: Path to the local file. force: If True, overwrite even if the remote file has changed since last sync. dry_run: If True (default), return a diff of changes instead of updating. Set to False to apply.
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>",
"local_path": "<local_path>"
},
"name": "update_google_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| local_path | Yes | ||
| force | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |