sync_from_gdrive
Import medical documents from Google Drive to oncofiles by detecting new or changed files, downloading them, and storing with metadata. Optionally generate AI summaries and tags for enhanced organization.
Instructions
Import files from Google Drive into oncofiles.
Walks category/year-month subfolders, detects new and changed files, downloads them, uploads to Files API, and stores metadata.
Args: dry_run: Preview changes without importing. enhance: Run AI summary/tag generation on new/changed files (default True).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| enhance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |