download_google_doc
Download a Google Doc and save it as a local file in markdown, HTML, PDF, or DOCX format, optionally including comments and rewriting internal links. Preview changes with dry run before saving.
Instructions
Download content from a linked Google Doc and SAVE it to a local file. 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. format: Output format ('markdown', 'html', 'pdf', 'docx'). include_comments: If True, append comments to the end. rewrite_links: If True, rewrite internal doc links to local file links. dry_run: If True (default), return a diff of changes (for text/markdown) or preview. Set False to save.
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": "download_google_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| local_path | Yes | ||
| format | No | markdown | |
| include_comments | No | ||
| rewrite_links | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |