Sync Google Drive sources
source_sync_driveRe-import Google Drive sources to update notebook files with their current versions, replacing stored snapshots.
Instructions
Re-import Google Drive sources (added with source_add_drive) so the notebook uses the latest version of each file, replacing the stored snapshot. With confirm=false it does nothing and returns pending_confirmation; with confirm=true it syncs and returns how many sources were synced.
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": {
"notebook_id": "<notebook_id>",
"source_ids": "<source_ids>",
"confirm": "<confirm>"
},
"name": "source_sync_drive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to sync. With false the tool only returns pending_confirmation | |
| source_ids | Yes | IDs of the Drive sources to sync, from notebook_get | |
| notebook_id | Yes | Notebook ID, as returned by notebook_list or notebook_create |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | No | Human-readable outcome or next step |