notebook_add_source
Add text, web URLs, YouTube videos, or Google Drive documents as sources to a Gemini Notebook, so you can ground Q&A and research in your own content.
Instructions
Add a text, web URL, YouTube video, or Google Drive document to a Gemini Notebook (Dual-Engine).
Args:
source_type: One of 'text', 'web', 'youtube', or 'gdrive'.
value: Raw text content, URL, YouTube URL, or Google Drive documentId.
title: Display name for the source.
mime_type: Used only when `source_type == 'gdrive'`.
notebook_id: Target notebook ID or workspace alias (defaults to workspace-attached notebook).
wait: When using RPC bridge, whether to wait for source indexing to complete.
engine: 'auto', 'gcp_rest', or 'rpc_bridge'.
workspace_dir: Optional workspace directory override.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| title | No | Workspace Source | |
| value | Yes | ||
| engine | No | auto | |
| mime_type | No | application/vnd.google-apps.document | |
| notebook_id | No | ||
| source_type | Yes | ||
| workspace_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||