@opentabs-dev/opentabs-plugin-notebooklm 0.0.103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/README.md +73 -0
  2. package/dist/adapter.iife.js +15028 -0
  3. package/dist/adapter.iife.js.map +7 -0
  4. package/dist/index.d.ts +14 -0
  5. package/dist/index.d.ts.map +1 -0
  6. package/dist/index.js +54 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/notebooklm-api.d.ts +9 -0
  9. package/dist/notebooklm-api.d.ts.map +1 -0
  10. package/dist/notebooklm-api.js +116 -0
  11. package/dist/notebooklm-api.js.map +1 -0
  12. package/dist/tools/add-source-text.d.ts +9 -0
  13. package/dist/tools/add-source-text.d.ts.map +1 -0
  14. package/dist/tools/add-source-text.js +25 -0
  15. package/dist/tools/add-source-text.js.map +1 -0
  16. package/dist/tools/add-source-url.d.ts +8 -0
  17. package/dist/tools/add-source-url.d.ts.map +1 -0
  18. package/dist/tools/add-source-url.js +24 -0
  19. package/dist/tools/add-source-url.js.map +1 -0
  20. package/dist/tools/copy-notebook.d.ts +7 -0
  21. package/dist/tools/copy-notebook.d.ts.map +1 -0
  22. package/dist/tools/copy-notebook.js +23 -0
  23. package/dist/tools/copy-notebook.js.map +1 -0
  24. package/dist/tools/create-note.d.ts +8 -0
  25. package/dist/tools/create-note.d.ts.map +1 -0
  26. package/dist/tools/create-note.js +25 -0
  27. package/dist/tools/create-note.js.map +1 -0
  28. package/dist/tools/create-notebook.d.ts +7 -0
  29. package/dist/tools/create-notebook.d.ts.map +1 -0
  30. package/dist/tools/create-notebook.js +23 -0
  31. package/dist/tools/create-notebook.js.map +1 -0
  32. package/dist/tools/delete-notebook.d.ts +7 -0
  33. package/dist/tools/delete-notebook.d.ts.map +1 -0
  34. package/dist/tools/delete-notebook.js +22 -0
  35. package/dist/tools/delete-notebook.js.map +1 -0
  36. package/dist/tools/delete-notes.d.ts +8 -0
  37. package/dist/tools/delete-notes.d.ts.map +1 -0
  38. package/dist/tools/delete-notes.js +23 -0
  39. package/dist/tools/delete-notes.js.map +1 -0
  40. package/dist/tools/delete-sources.d.ts +8 -0
  41. package/dist/tools/delete-sources.d.ts.map +1 -0
  42. package/dist/tools/delete-sources.js +23 -0
  43. package/dist/tools/delete-sources.js.map +1 -0
  44. package/dist/tools/get-current-user.d.ts +9 -0
  45. package/dist/tools/get-current-user.d.ts.map +1 -0
  46. package/dist/tools/get-current-user.js +27 -0
  47. package/dist/tools/get-current-user.js.map +1 -0
  48. package/dist/tools/get-notebook-guide.d.ts +12 -0
  49. package/dist/tools/get-notebook-guide.d.ts.map +1 -0
  50. package/dist/tools/get-notebook-guide.js +38 -0
  51. package/dist/tools/get-notebook-guide.js.map +1 -0
  52. package/dist/tools/get-notebook.d.ts +15 -0
  53. package/dist/tools/get-notebook.d.ts.map +1 -0
  54. package/dist/tools/get-notebook.js +24 -0
  55. package/dist/tools/get-notebook.js.map +1 -0
  56. package/dist/tools/get-notes.d.ts +12 -0
  57. package/dist/tools/get-notes.d.ts.map +1 -0
  58. package/dist/tools/get-notes.js +29 -0
  59. package/dist/tools/get-notes.js.map +1 -0
  60. package/dist/tools/get-project-details.d.ts +13 -0
  61. package/dist/tools/get-project-details.d.ts.map +1 -0
  62. package/dist/tools/get-project-details.js +36 -0
  63. package/dist/tools/get-project-details.js.map +1 -0
  64. package/dist/tools/list-chat-sessions.d.ts +10 -0
  65. package/dist/tools/list-chat-sessions.d.ts.map +1 -0
  66. package/dist/tools/list-chat-sessions.js +27 -0
  67. package/dist/tools/list-chat-sessions.js.map +1 -0
  68. package/dist/tools/list-notebooks.d.ts +13 -0
  69. package/dist/tools/list-notebooks.d.ts.map +1 -0
  70. package/dist/tools/list-notebooks.js +22 -0
  71. package/dist/tools/list-notebooks.js.map +1 -0
  72. package/dist/tools/navigate-to-notebook.d.ts +7 -0
  73. package/dist/tools/navigate-to-notebook.d.ts.map +1 -0
  74. package/dist/tools/navigate-to-notebook.js +21 -0
  75. package/dist/tools/navigate-to-notebook.js.map +1 -0
  76. package/dist/tools/rename-notebook.d.ts +8 -0
  77. package/dist/tools/rename-notebook.d.ts.map +1 -0
  78. package/dist/tools/rename-notebook.js +23 -0
  79. package/dist/tools/rename-notebook.js.map +1 -0
  80. package/dist/tools/schemas.d.ts +44 -0
  81. package/dist/tools/schemas.d.ts.map +1 -0
  82. package/dist/tools/schemas.js +72 -0
  83. package/dist/tools/schemas.js.map +1 -0
  84. package/dist/tools/update-note.d.ts +9 -0
  85. package/dist/tools/update-note.d.ts.map +1 -0
  86. package/dist/tools/update-note.js +24 -0
  87. package/dist/tools/update-note.js.map +1 -0
  88. package/dist/tools.json +874 -0
  89. package/package.json +68 -0
@@ -0,0 +1,874 @@
1
+ {
2
+ "sdkVersion": "0.0.103",
3
+ "iconSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.999 3.201C5.372 3.201 0 8.528 0 15.101V20.8h2.212v-.568c0-2.666 2.178-4.827 4.866-4.827 2.688 0 4.866 2.16 4.866 4.827v.568h2.212v-.568c0-3.877-3.17-7.019-7.078-7.019A7.075 7.075 0 0 0 2.992 14.5a7.355 7.355 0 0 1 6.568-4.016c4.057 0 7.347 3.264 7.347 7.287V20.8h2.212V17.77c0-5.235-4.28-9.481-9.56-9.481a9.563 9.563 0 0 0-6.217 2.28A9.795 9.795 0 0 1 12 5.393c5.406 0 9.788 4.346 9.788 9.707V20.8H24V15.1c-.001-6.573-5.373-11.9-12.001-11.9Z\" fill=\"black\"/></svg>",
4
+ "iconInactiveSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.999 3.201C5.372 3.201 0 8.528 0 15.101V20.8h2.212v-.568c0-2.666 2.178-4.827 4.866-4.827 2.688 0 4.866 2.16 4.866 4.827v.568h2.212v-.568c0-3.877-3.17-7.019-7.078-7.019A7.075 7.075 0 0 0 2.992 14.5a7.355 7.355 0 0 1 6.568-4.016c4.057 0 7.347 3.264 7.347 7.287V20.8h2.212V17.77c0-5.235-4.28-9.481-9.56-9.481a9.563 9.563 0 0 0-6.217 2.28A9.795 9.795 0 0 1 12 5.393c5.406 0 9.788 4.346 9.788 9.707V20.8H24V15.1c-.001-6.573-5.373-11.9-12.001-11.9Z\" fill=\"#999999\"/></svg>",
5
+ "iconDarkSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.999 3.201C5.372 3.201 0 8.528 0 15.101V20.8h2.212v-.568c0-2.666 2.178-4.827 4.866-4.827 2.688 0 4.866 2.16 4.866 4.827v.568h2.212v-.568c0-3.877-3.17-7.019-7.078-7.019A7.075 7.075 0 0 0 2.992 14.5a7.355 7.355 0 0 1 6.568-4.016c4.057 0 7.347 3.264 7.347 7.287V20.8h2.212V17.77c0-5.235-4.28-9.481-9.56-9.481a9.563 9.563 0 0 0-6.217 2.28A9.795 9.795 0 0 1 12 5.393c5.406 0 9.788 4.346 9.788 9.707V20.8H24V15.1c-.001-6.573-5.373-11.9-12.001-11.9Z\" fill=\"#ffffff\"/></svg>",
6
+ "iconDarkInactiveSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.999 3.201C5.372 3.201 0 8.528 0 15.101V20.8h2.212v-.568c0-2.666 2.178-4.827 4.866-4.827 2.688 0 4.866 2.16 4.866 4.827v.568h2.212v-.568c0-3.877-3.17-7.019-7.078-7.019A7.075 7.075 0 0 0 2.992 14.5a7.355 7.355 0 0 1 6.568-4.016c4.057 0 7.347 3.264 7.347 7.287V20.8h2.212V17.77c0-5.235-4.28-9.481-9.56-9.481a9.563 9.563 0 0 0-6.217 2.28A9.795 9.795 0 0 1 12 5.393c5.406 0 9.788 4.346 9.788 9.707V20.8H24V15.1c-.001-6.573-5.373-11.9-12.001-11.9Z\" fill=\"#ffffff\"/></svg>",
7
+ "tools": [
8
+ {
9
+ "name": "list_notebooks",
10
+ "displayName": "List Notebooks",
11
+ "description": "List recently viewed notebooks in the user's NotebookLM account. Returns notebook IDs, titles, source counts, and timestamps.",
12
+ "summary": "List recent notebooks",
13
+ "icon": "library",
14
+ "group": "Notebooks",
15
+ "input_schema": {
16
+ "type": "object",
17
+ "properties": {},
18
+ "additionalProperties": false
19
+ },
20
+ "output_schema": {
21
+ "type": "object",
22
+ "properties": {
23
+ "notebooks": {
24
+ "type": "array",
25
+ "items": {
26
+ "type": "object",
27
+ "properties": {
28
+ "id": {
29
+ "type": "string",
30
+ "description": "Notebook UUID"
31
+ },
32
+ "title": {
33
+ "type": "string",
34
+ "description": "Notebook title"
35
+ },
36
+ "is_owner": {
37
+ "type": "boolean",
38
+ "description": "Whether the current user owns this notebook"
39
+ },
40
+ "has_sources": {
41
+ "type": "boolean",
42
+ "description": "Whether the notebook has sources"
43
+ },
44
+ "source_count": {
45
+ "type": "integer",
46
+ "minimum": -9007199254740991,
47
+ "maximum": 9007199254740991,
48
+ "description": "Number of sources in the notebook"
49
+ },
50
+ "created_at_seconds": {
51
+ "type": "number",
52
+ "description": "Creation timestamp (Unix seconds)"
53
+ },
54
+ "updated_at_seconds": {
55
+ "type": "number",
56
+ "description": "Last update timestamp (Unix seconds)"
57
+ }
58
+ },
59
+ "required": [
60
+ "id",
61
+ "title",
62
+ "is_owner",
63
+ "has_sources",
64
+ "source_count",
65
+ "created_at_seconds",
66
+ "updated_at_seconds"
67
+ ],
68
+ "additionalProperties": false
69
+ },
70
+ "description": "List of notebooks"
71
+ }
72
+ },
73
+ "required": [
74
+ "notebooks"
75
+ ],
76
+ "additionalProperties": false
77
+ }
78
+ },
79
+ {
80
+ "name": "get_notebook",
81
+ "displayName": "Get Notebook",
82
+ "description": "Get details of a specific notebook by ID, including title, source count, and timestamps.",
83
+ "summary": "Get notebook details",
84
+ "icon": "book-open",
85
+ "group": "Notebooks",
86
+ "input_schema": {
87
+ "type": "object",
88
+ "properties": {
89
+ "notebook_id": {
90
+ "type": "string",
91
+ "description": "Notebook UUID"
92
+ }
93
+ },
94
+ "required": [
95
+ "notebook_id"
96
+ ],
97
+ "additionalProperties": false
98
+ },
99
+ "output_schema": {
100
+ "type": "object",
101
+ "properties": {
102
+ "notebook": {
103
+ "type": "object",
104
+ "properties": {
105
+ "id": {
106
+ "type": "string",
107
+ "description": "Notebook UUID"
108
+ },
109
+ "title": {
110
+ "type": "string",
111
+ "description": "Notebook title"
112
+ },
113
+ "is_owner": {
114
+ "type": "boolean",
115
+ "description": "Whether the current user owns this notebook"
116
+ },
117
+ "has_sources": {
118
+ "type": "boolean",
119
+ "description": "Whether the notebook has sources"
120
+ },
121
+ "source_count": {
122
+ "type": "integer",
123
+ "minimum": -9007199254740991,
124
+ "maximum": 9007199254740991,
125
+ "description": "Number of sources in the notebook"
126
+ },
127
+ "created_at_seconds": {
128
+ "type": "number",
129
+ "description": "Creation timestamp (Unix seconds)"
130
+ },
131
+ "updated_at_seconds": {
132
+ "type": "number",
133
+ "description": "Last update timestamp (Unix seconds)"
134
+ }
135
+ },
136
+ "required": [
137
+ "id",
138
+ "title",
139
+ "is_owner",
140
+ "has_sources",
141
+ "source_count",
142
+ "created_at_seconds",
143
+ "updated_at_seconds"
144
+ ],
145
+ "additionalProperties": false
146
+ }
147
+ },
148
+ "required": [
149
+ "notebook"
150
+ ],
151
+ "additionalProperties": false
152
+ }
153
+ },
154
+ {
155
+ "name": "create_notebook",
156
+ "displayName": "Create Notebook",
157
+ "description": "Create a new empty notebook in NotebookLM. Returns the new notebook ID. Sources can be added after creation.",
158
+ "summary": "Create a new notebook",
159
+ "icon": "plus",
160
+ "group": "Notebooks",
161
+ "input_schema": {
162
+ "type": "object",
163
+ "properties": {
164
+ "title": {
165
+ "description": "Notebook title (optional, defaults to untitled)",
166
+ "type": "string"
167
+ }
168
+ },
169
+ "additionalProperties": false
170
+ },
171
+ "output_schema": {
172
+ "type": "object",
173
+ "properties": {
174
+ "notebook_id": {
175
+ "type": "string",
176
+ "description": "ID of the newly created notebook"
177
+ }
178
+ },
179
+ "required": [
180
+ "notebook_id"
181
+ ],
182
+ "additionalProperties": false
183
+ }
184
+ },
185
+ {
186
+ "name": "delete_notebook",
187
+ "displayName": "Delete Notebook",
188
+ "description": "Delete one or more notebooks by their IDs. This permanently removes the notebook, all sources, notes, and chat history.",
189
+ "summary": "Delete notebooks",
190
+ "icon": "trash-2",
191
+ "group": "Notebooks",
192
+ "input_schema": {
193
+ "type": "object",
194
+ "properties": {
195
+ "notebook_ids": {
196
+ "minItems": 1,
197
+ "type": "array",
198
+ "items": {
199
+ "type": "string"
200
+ },
201
+ "description": "Array of notebook UUIDs to delete"
202
+ }
203
+ },
204
+ "required": [
205
+ "notebook_ids"
206
+ ],
207
+ "additionalProperties": false
208
+ },
209
+ "output_schema": {
210
+ "type": "object",
211
+ "properties": {
212
+ "success": {
213
+ "type": "boolean",
214
+ "description": "Whether the operation succeeded"
215
+ }
216
+ },
217
+ "required": [
218
+ "success"
219
+ ],
220
+ "additionalProperties": false
221
+ }
222
+ },
223
+ {
224
+ "name": "rename_notebook",
225
+ "displayName": "Rename Notebook",
226
+ "description": "Rename a notebook by setting a new title.",
227
+ "summary": "Rename a notebook",
228
+ "icon": "pencil",
229
+ "group": "Notebooks",
230
+ "input_schema": {
231
+ "type": "object",
232
+ "properties": {
233
+ "notebook_id": {
234
+ "type": "string",
235
+ "description": "Notebook UUID"
236
+ },
237
+ "title": {
238
+ "type": "string",
239
+ "description": "New notebook title"
240
+ }
241
+ },
242
+ "required": [
243
+ "notebook_id",
244
+ "title"
245
+ ],
246
+ "additionalProperties": false
247
+ },
248
+ "output_schema": {
249
+ "type": "object",
250
+ "properties": {
251
+ "success": {
252
+ "type": "boolean",
253
+ "description": "Whether the operation succeeded"
254
+ }
255
+ },
256
+ "required": [
257
+ "success"
258
+ ],
259
+ "additionalProperties": false
260
+ }
261
+ },
262
+ {
263
+ "name": "copy_notebook",
264
+ "displayName": "Copy Notebook",
265
+ "description": "Create a copy of an existing notebook, including all sources, notes, and artifacts.",
266
+ "summary": "Copy a notebook",
267
+ "icon": "copy",
268
+ "group": "Notebooks",
269
+ "input_schema": {
270
+ "type": "object",
271
+ "properties": {
272
+ "notebook_id": {
273
+ "type": "string",
274
+ "description": "Notebook UUID to copy"
275
+ }
276
+ },
277
+ "required": [
278
+ "notebook_id"
279
+ ],
280
+ "additionalProperties": false
281
+ },
282
+ "output_schema": {
283
+ "type": "object",
284
+ "properties": {
285
+ "notebook_id": {
286
+ "type": "string",
287
+ "description": "ID of the newly created copy"
288
+ }
289
+ },
290
+ "required": [
291
+ "notebook_id"
292
+ ],
293
+ "additionalProperties": false
294
+ }
295
+ },
296
+ {
297
+ "name": "get_project_details",
298
+ "displayName": "Get Project Details",
299
+ "description": "Get sharing details and collaborators for a notebook, including the owner and permission level.",
300
+ "summary": "Get notebook sharing details",
301
+ "icon": "users",
302
+ "group": "Notebooks",
303
+ "input_schema": {
304
+ "type": "object",
305
+ "properties": {
306
+ "notebook_id": {
307
+ "type": "string",
308
+ "description": "Notebook UUID"
309
+ }
310
+ },
311
+ "required": [
312
+ "notebook_id"
313
+ ],
314
+ "additionalProperties": false
315
+ },
316
+ "output_schema": {
317
+ "type": "object",
318
+ "properties": {
319
+ "collaborators": {
320
+ "type": "array",
321
+ "items": {
322
+ "type": "object",
323
+ "properties": {
324
+ "email": {
325
+ "type": "string",
326
+ "description": "User email address"
327
+ },
328
+ "name": {
329
+ "type": "string",
330
+ "description": "User display name"
331
+ },
332
+ "avatar_url": {
333
+ "type": "string",
334
+ "description": "User avatar URL"
335
+ }
336
+ },
337
+ "required": [
338
+ "email",
339
+ "name",
340
+ "avatar_url"
341
+ ],
342
+ "additionalProperties": false
343
+ },
344
+ "description": "List of collaborators"
345
+ },
346
+ "max_sources": {
347
+ "type": "integer",
348
+ "minimum": -9007199254740991,
349
+ "maximum": 9007199254740991,
350
+ "description": "Maximum number of sources allowed"
351
+ },
352
+ "is_public": {
353
+ "type": "boolean",
354
+ "description": "Whether the notebook is publicly shared"
355
+ }
356
+ },
357
+ "required": [
358
+ "collaborators",
359
+ "max_sources",
360
+ "is_public"
361
+ ],
362
+ "additionalProperties": false
363
+ }
364
+ },
365
+ {
366
+ "name": "navigate_to_notebook",
367
+ "displayName": "Navigate to Notebook",
368
+ "description": "Navigate the browser to a specific notebook page in NotebookLM.",
369
+ "summary": "Open a notebook",
370
+ "icon": "external-link",
371
+ "group": "Notebooks",
372
+ "input_schema": {
373
+ "type": "object",
374
+ "properties": {
375
+ "notebook_id": {
376
+ "type": "string",
377
+ "description": "Notebook UUID"
378
+ }
379
+ },
380
+ "required": [
381
+ "notebook_id"
382
+ ],
383
+ "additionalProperties": false
384
+ },
385
+ "output_schema": {
386
+ "type": "object",
387
+ "properties": {
388
+ "success": {
389
+ "type": "boolean",
390
+ "description": "Whether navigation was initiated"
391
+ }
392
+ },
393
+ "required": [
394
+ "success"
395
+ ],
396
+ "additionalProperties": false
397
+ }
398
+ },
399
+ {
400
+ "name": "get_notes",
401
+ "displayName": "Get Notes",
402
+ "description": "Get all notes in a notebook. Returns note IDs, titles, content, and timestamps.",
403
+ "summary": "Get notes in a notebook",
404
+ "icon": "sticky-note",
405
+ "group": "Notes",
406
+ "input_schema": {
407
+ "type": "object",
408
+ "properties": {
409
+ "notebook_id": {
410
+ "type": "string",
411
+ "description": "Notebook UUID"
412
+ }
413
+ },
414
+ "required": [
415
+ "notebook_id"
416
+ ],
417
+ "additionalProperties": false
418
+ },
419
+ "output_schema": {
420
+ "type": "object",
421
+ "properties": {
422
+ "notes": {
423
+ "type": "array",
424
+ "items": {
425
+ "type": "object",
426
+ "properties": {
427
+ "id": {
428
+ "type": "string",
429
+ "description": "Note UUID"
430
+ },
431
+ "content": {
432
+ "type": "string",
433
+ "description": "Note content (markdown)"
434
+ },
435
+ "created_at_seconds": {
436
+ "type": "number",
437
+ "description": "Creation timestamp (Unix seconds)"
438
+ }
439
+ },
440
+ "required": [
441
+ "id",
442
+ "content",
443
+ "created_at_seconds"
444
+ ],
445
+ "additionalProperties": false
446
+ },
447
+ "description": "List of notes"
448
+ },
449
+ "sync_token_seconds": {
450
+ "type": "number",
451
+ "description": "Sync token timestamp for polling updates"
452
+ }
453
+ },
454
+ "required": [
455
+ "notes",
456
+ "sync_token_seconds"
457
+ ],
458
+ "additionalProperties": false
459
+ }
460
+ },
461
+ {
462
+ "name": "create_note",
463
+ "displayName": "Create Note",
464
+ "description": "Create a new note in a notebook. Notes can contain markdown-formatted text.",
465
+ "summary": "Create a note",
466
+ "icon": "file-plus",
467
+ "group": "Notes",
468
+ "input_schema": {
469
+ "type": "object",
470
+ "properties": {
471
+ "notebook_id": {
472
+ "type": "string",
473
+ "description": "Notebook UUID"
474
+ },
475
+ "content": {
476
+ "type": "string",
477
+ "description": "Note content (supports markdown)"
478
+ }
479
+ },
480
+ "required": [
481
+ "notebook_id",
482
+ "content"
483
+ ],
484
+ "additionalProperties": false
485
+ },
486
+ "output_schema": {
487
+ "type": "object",
488
+ "properties": {
489
+ "note_id": {
490
+ "type": "string",
491
+ "description": "ID of the newly created note"
492
+ }
493
+ },
494
+ "required": [
495
+ "note_id"
496
+ ],
497
+ "additionalProperties": false
498
+ }
499
+ },
500
+ {
501
+ "name": "update_note",
502
+ "displayName": "Update Note",
503
+ "description": "Update the content of an existing note.",
504
+ "summary": "Update a note",
505
+ "icon": "file-pen",
506
+ "group": "Notes",
507
+ "input_schema": {
508
+ "type": "object",
509
+ "properties": {
510
+ "notebook_id": {
511
+ "type": "string",
512
+ "description": "Notebook UUID"
513
+ },
514
+ "note_id": {
515
+ "type": "string",
516
+ "description": "Note UUID to update"
517
+ },
518
+ "content": {
519
+ "type": "string",
520
+ "description": "New note content (supports markdown)"
521
+ }
522
+ },
523
+ "required": [
524
+ "notebook_id",
525
+ "note_id",
526
+ "content"
527
+ ],
528
+ "additionalProperties": false
529
+ },
530
+ "output_schema": {
531
+ "type": "object",
532
+ "properties": {
533
+ "success": {
534
+ "type": "boolean",
535
+ "description": "Whether the operation succeeded"
536
+ }
537
+ },
538
+ "required": [
539
+ "success"
540
+ ],
541
+ "additionalProperties": false
542
+ }
543
+ },
544
+ {
545
+ "name": "delete_notes",
546
+ "displayName": "Delete Notes",
547
+ "description": "Delete one or more notes from a notebook.",
548
+ "summary": "Delete notes",
549
+ "icon": "file-x",
550
+ "group": "Notes",
551
+ "input_schema": {
552
+ "type": "object",
553
+ "properties": {
554
+ "notebook_id": {
555
+ "type": "string",
556
+ "description": "Notebook UUID"
557
+ },
558
+ "note_ids": {
559
+ "minItems": 1,
560
+ "type": "array",
561
+ "items": {
562
+ "type": "string"
563
+ },
564
+ "description": "Array of note UUIDs to delete"
565
+ }
566
+ },
567
+ "required": [
568
+ "notebook_id",
569
+ "note_ids"
570
+ ],
571
+ "additionalProperties": false
572
+ },
573
+ "output_schema": {
574
+ "type": "object",
575
+ "properties": {
576
+ "success": {
577
+ "type": "boolean",
578
+ "description": "Whether the operation succeeded"
579
+ }
580
+ },
581
+ "required": [
582
+ "success"
583
+ ],
584
+ "additionalProperties": false
585
+ }
586
+ },
587
+ {
588
+ "name": "list_chat_sessions",
589
+ "displayName": "List Chat Sessions",
590
+ "description": "List chat sessions in a notebook. Each notebook has one or more chat sessions that contain conversation history.",
591
+ "summary": "List chat sessions",
592
+ "icon": "messages-square",
593
+ "group": "Chat",
594
+ "input_schema": {
595
+ "type": "object",
596
+ "properties": {
597
+ "notebook_id": {
598
+ "type": "string",
599
+ "description": "Notebook UUID"
600
+ },
601
+ "limit": {
602
+ "description": "Max results (default 20)",
603
+ "type": "integer",
604
+ "minimum": 1,
605
+ "maximum": 100
606
+ }
607
+ },
608
+ "required": [
609
+ "notebook_id"
610
+ ],
611
+ "additionalProperties": false
612
+ },
613
+ "output_schema": {
614
+ "type": "object",
615
+ "properties": {
616
+ "sessions": {
617
+ "type": "array",
618
+ "items": {
619
+ "type": "object",
620
+ "properties": {
621
+ "id": {
622
+ "type": "string",
623
+ "description": "Chat session UUID"
624
+ }
625
+ },
626
+ "required": [
627
+ "id"
628
+ ],
629
+ "additionalProperties": false
630
+ },
631
+ "description": "List of chat sessions"
632
+ }
633
+ },
634
+ "required": [
635
+ "sessions"
636
+ ],
637
+ "additionalProperties": false
638
+ }
639
+ },
640
+ {
641
+ "name": "get_notebook_guide",
642
+ "displayName": "Get Notebook Guide",
643
+ "description": "Generate an AI summary of all sources in a notebook, along with suggested questions for deeper exploration. This is the primary way to get NotebookLM to analyze and synthesize your sources.",
644
+ "summary": "Get AI summary of sources",
645
+ "icon": "sparkles",
646
+ "group": "Chat",
647
+ "input_schema": {
648
+ "type": "object",
649
+ "properties": {
650
+ "notebook_id": {
651
+ "type": "string",
652
+ "description": "Notebook UUID"
653
+ }
654
+ },
655
+ "required": [
656
+ "notebook_id"
657
+ ],
658
+ "additionalProperties": false
659
+ },
660
+ "output_schema": {
661
+ "type": "object",
662
+ "properties": {
663
+ "summary": {
664
+ "type": "string",
665
+ "description": "AI-generated summary of all sources"
666
+ },
667
+ "suggested_questions": {
668
+ "type": "array",
669
+ "items": {
670
+ "type": "object",
671
+ "properties": {
672
+ "question": {
673
+ "type": "string",
674
+ "description": "Suggested question"
675
+ },
676
+ "prompt": {
677
+ "type": "string",
678
+ "description": "Full prompt for generating a briefing doc on this question"
679
+ }
680
+ },
681
+ "required": [
682
+ "question",
683
+ "prompt"
684
+ ],
685
+ "additionalProperties": false
686
+ },
687
+ "description": "AI-suggested follow-up questions with prompts"
688
+ },
689
+ "guide_id": {
690
+ "type": "string",
691
+ "description": "Guide ID for reference"
692
+ }
693
+ },
694
+ "required": [
695
+ "summary",
696
+ "suggested_questions",
697
+ "guide_id"
698
+ ],
699
+ "additionalProperties": false
700
+ }
701
+ },
702
+ {
703
+ "name": "add_source_url",
704
+ "displayName": "Add Source URL",
705
+ "description": "Add a website URL as a source to a notebook. NotebookLM will fetch and index the page content.",
706
+ "summary": "Add a website source",
707
+ "icon": "link",
708
+ "group": "Sources",
709
+ "input_schema": {
710
+ "type": "object",
711
+ "properties": {
712
+ "notebook_id": {
713
+ "type": "string",
714
+ "description": "Notebook UUID"
715
+ },
716
+ "url": {
717
+ "type": "string",
718
+ "description": "Website URL to add as a source"
719
+ }
720
+ },
721
+ "required": [
722
+ "notebook_id",
723
+ "url"
724
+ ],
725
+ "additionalProperties": false
726
+ },
727
+ "output_schema": {
728
+ "type": "object",
729
+ "properties": {
730
+ "success": {
731
+ "type": "boolean",
732
+ "description": "Whether the source was added successfully"
733
+ }
734
+ },
735
+ "required": [
736
+ "success"
737
+ ],
738
+ "additionalProperties": false
739
+ }
740
+ },
741
+ {
742
+ "name": "add_source_text",
743
+ "displayName": "Add Source Text",
744
+ "description": "Add plain text as a source to a notebook. Use this to provide custom content for NotebookLM to analyze.",
745
+ "summary": "Add text as a source",
746
+ "icon": "file-text",
747
+ "group": "Sources",
748
+ "input_schema": {
749
+ "type": "object",
750
+ "properties": {
751
+ "notebook_id": {
752
+ "type": "string",
753
+ "description": "Notebook UUID"
754
+ },
755
+ "title": {
756
+ "type": "string",
757
+ "description": "Title for the text source"
758
+ },
759
+ "text": {
760
+ "type": "string",
761
+ "description": "Text content to add as a source"
762
+ }
763
+ },
764
+ "required": [
765
+ "notebook_id",
766
+ "title",
767
+ "text"
768
+ ],
769
+ "additionalProperties": false
770
+ },
771
+ "output_schema": {
772
+ "type": "object",
773
+ "properties": {
774
+ "success": {
775
+ "type": "boolean",
776
+ "description": "Whether the source was added successfully"
777
+ }
778
+ },
779
+ "required": [
780
+ "success"
781
+ ],
782
+ "additionalProperties": false
783
+ }
784
+ },
785
+ {
786
+ "name": "delete_sources",
787
+ "displayName": "Delete Sources",
788
+ "description": "Delete one or more sources from a notebook.",
789
+ "summary": "Delete sources",
790
+ "icon": "file-x",
791
+ "group": "Sources",
792
+ "input_schema": {
793
+ "type": "object",
794
+ "properties": {
795
+ "notebook_id": {
796
+ "type": "string",
797
+ "description": "Notebook UUID"
798
+ },
799
+ "source_ids": {
800
+ "minItems": 1,
801
+ "type": "array",
802
+ "items": {
803
+ "type": "string"
804
+ },
805
+ "description": "Array of source UUIDs to delete"
806
+ }
807
+ },
808
+ "required": [
809
+ "notebook_id",
810
+ "source_ids"
811
+ ],
812
+ "additionalProperties": false
813
+ },
814
+ "output_schema": {
815
+ "type": "object",
816
+ "properties": {
817
+ "success": {
818
+ "type": "boolean",
819
+ "description": "Whether the operation succeeded"
820
+ }
821
+ },
822
+ "required": [
823
+ "success"
824
+ ],
825
+ "additionalProperties": false
826
+ }
827
+ },
828
+ {
829
+ "name": "get_current_user",
830
+ "displayName": "Get Current User",
831
+ "description": "Get the currently logged-in user's account information (email and user ID).",
832
+ "summary": "Get current user info",
833
+ "icon": "user",
834
+ "group": "Account",
835
+ "input_schema": {
836
+ "type": "object",
837
+ "properties": {},
838
+ "additionalProperties": false
839
+ },
840
+ "output_schema": {
841
+ "type": "object",
842
+ "properties": {
843
+ "user": {
844
+ "type": "object",
845
+ "properties": {
846
+ "email": {
847
+ "type": "string",
848
+ "description": "User email address"
849
+ },
850
+ "name": {
851
+ "type": "string",
852
+ "description": "User display name"
853
+ },
854
+ "avatar_url": {
855
+ "type": "string",
856
+ "description": "User avatar URL"
857
+ }
858
+ },
859
+ "required": [
860
+ "email",
861
+ "name",
862
+ "avatar_url"
863
+ ],
864
+ "additionalProperties": false
865
+ }
866
+ },
867
+ "required": [
868
+ "user"
869
+ ],
870
+ "additionalProperties": false
871
+ }
872
+ }
873
+ ]
874
+ }