@pan-sec/notebooklm-mcp 2026.2.10 → 2026.3.0
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.
- package/README.md +71 -27
- package/SECURITY.md +31 -61
- package/dist/auth/auth-manager.d.ts +2 -1
- package/dist/auth/auth-manager.d.ts.map +1 -1
- package/dist/auth/auth-manager.js +97 -42
- package/dist/auth/auth-manager.js.map +1 -1
- package/dist/auth/mcp-auth.d.ts +22 -4
- package/dist/auth/mcp-auth.d.ts.map +1 -1
- package/dist/auth/mcp-auth.js +120 -19
- package/dist/auth/mcp-auth.js.map +1 -1
- package/dist/compliance/alert-manager.d.ts.map +1 -1
- package/dist/compliance/alert-manager.js +7 -4
- package/dist/compliance/alert-manager.js.map +1 -1
- package/dist/compliance/breach-detection.d.ts.map +1 -1
- package/dist/compliance/breach-detection.js +14 -7
- package/dist/compliance/breach-detection.js.map +1 -1
- package/dist/compliance/change-log.d.ts.map +1 -1
- package/dist/compliance/change-log.js +7 -4
- package/dist/compliance/change-log.js.map +1 -1
- package/dist/compliance/compliance-logger.d.ts.map +1 -1
- package/dist/compliance/compliance-logger.js +11 -6
- package/dist/compliance/compliance-logger.js.map +1 -1
- package/dist/compliance/consent-manager.d.ts.map +1 -1
- package/dist/compliance/consent-manager.js +5 -3
- package/dist/compliance/consent-manager.js.map +1 -1
- package/dist/compliance/data-erasure.d.ts +1 -1
- package/dist/compliance/data-erasure.d.ts.map +1 -1
- package/dist/compliance/data-erasure.js +142 -83
- package/dist/compliance/data-erasure.js.map +1 -1
- package/dist/compliance/data-export.d.ts.map +1 -1
- package/dist/compliance/data-export.js +23 -12
- package/dist/compliance/data-export.js.map +1 -1
- package/dist/compliance/data-inventory.d.ts.map +1 -1
- package/dist/compliance/data-inventory.js +7 -6
- package/dist/compliance/data-inventory.js.map +1 -1
- package/dist/compliance/dsar-handler.d.ts +7 -1
- package/dist/compliance/dsar-handler.d.ts.map +1 -1
- package/dist/compliance/dsar-handler.js +74 -61
- package/dist/compliance/dsar-handler.js.map +1 -1
- package/dist/compliance/evidence-collector.d.ts.map +1 -1
- package/dist/compliance/evidence-collector.js +10 -6
- package/dist/compliance/evidence-collector.js.map +1 -1
- package/dist/compliance/health-monitor.d.ts.map +1 -1
- package/dist/compliance/health-monitor.js +15 -9
- package/dist/compliance/health-monitor.js.map +1 -1
- package/dist/compliance/incident-manager.d.ts.map +1 -1
- package/dist/compliance/incident-manager.js +5 -3
- package/dist/compliance/incident-manager.js.map +1 -1
- package/dist/compliance/policy-docs.d.ts.map +1 -1
- package/dist/compliance/policy-docs.js +14 -11
- package/dist/compliance/policy-docs.js.map +1 -1
- package/dist/compliance/privacy-notice-text.d.ts.map +1 -1
- package/dist/compliance/privacy-notice-text.js +3 -4
- package/dist/compliance/privacy-notice-text.js.map +1 -1
- package/dist/compliance/privacy-notice.d.ts.map +1 -1
- package/dist/compliance/privacy-notice.js +5 -3
- package/dist/compliance/privacy-notice.js.map +1 -1
- package/dist/compliance/report-generator.d.ts.map +1 -1
- package/dist/compliance/report-generator.js +5 -3
- package/dist/compliance/report-generator.js.map +1 -1
- package/dist/compliance/retention-engine.d.ts.map +1 -1
- package/dist/compliance/retention-engine.js +18 -10
- package/dist/compliance/retention-engine.js.map +1 -1
- package/dist/compliance/siem-exporter.d.ts.map +1 -1
- package/dist/compliance/siem-exporter.js +40 -16
- package/dist/compliance/siem-exporter.js.map +1 -1
- package/dist/config.d.ts +4 -31
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +25 -63
- package/dist/config.js.map +1 -1
- package/dist/errors.d.ts +21 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +54 -1
- package/dist/errors.js.map +1 -1
- package/dist/gemini/gemini-client.d.ts +1 -0
- package/dist/gemini/gemini-client.d.ts.map +1 -1
- package/dist/gemini/gemini-client.js +50 -49
- package/dist/gemini/gemini-client.js.map +1 -1
- package/dist/gemini/types.d.ts +3 -1
- package/dist/gemini/types.d.ts.map +1 -1
- package/dist/gemini/types.js.map +1 -1
- package/dist/index.d.ts +52 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +399 -85
- package/dist/index.js.map +1 -1
- package/dist/library/notebook-library.d.ts.map +1 -1
- package/dist/library/notebook-library.js +2 -1
- package/dist/library/notebook-library.js.map +1 -1
- package/dist/logging/query-logger.d.ts +13 -1
- package/dist/logging/query-logger.d.ts.map +1 -1
- package/dist/logging/query-logger.js +62 -10
- package/dist/logging/query-logger.js.map +1 -1
- package/dist/notebook-creation/audio-manager.d.ts.map +1 -1
- package/dist/notebook-creation/audio-manager.js +19 -24
- package/dist/notebook-creation/audio-manager.js.map +1 -1
- package/dist/notebook-creation/browser-options.d.ts +28 -0
- package/dist/notebook-creation/browser-options.d.ts.map +1 -0
- package/dist/notebook-creation/browser-options.js +75 -0
- package/dist/notebook-creation/browser-options.js.map +1 -0
- package/dist/notebook-creation/data-table-manager.d.ts.map +1 -1
- package/dist/notebook-creation/data-table-manager.js +21 -22
- package/dist/notebook-creation/data-table-manager.js.map +1 -1
- package/dist/notebook-creation/discover-creation-flow.d.ts +0 -6
- package/dist/notebook-creation/discover-creation-flow.d.ts.map +1 -1
- package/dist/notebook-creation/discover-creation-flow.js +10 -10
- package/dist/notebook-creation/discover-creation-flow.js.map +1 -1
- package/dist/notebook-creation/discover-quota.d.ts +0 -6
- package/dist/notebook-creation/discover-quota.d.ts.map +1 -1
- package/dist/notebook-creation/discover-quota.js +12 -13
- package/dist/notebook-creation/discover-quota.js.map +1 -1
- package/dist/notebook-creation/discover-sources.js +15 -16
- package/dist/notebook-creation/discover-sources.js.map +1 -1
- package/dist/notebook-creation/dom-scripts.d.ts +10 -0
- package/dist/notebook-creation/dom-scripts.d.ts.map +1 -0
- package/dist/notebook-creation/dom-scripts.js +58 -0
- package/dist/notebook-creation/dom-scripts.js.map +1 -0
- package/dist/notebook-creation/errors.d.ts +18 -0
- package/dist/notebook-creation/errors.d.ts.map +1 -0
- package/dist/notebook-creation/errors.js +20 -0
- package/dist/notebook-creation/errors.js.map +1 -0
- package/dist/notebook-creation/index.d.ts +2 -0
- package/dist/notebook-creation/index.d.ts.map +1 -1
- package/dist/notebook-creation/index.js +2 -0
- package/dist/notebook-creation/index.js.map +1 -1
- package/dist/notebook-creation/notebook-creator.d.ts +6 -82
- package/dist/notebook-creation/notebook-creator.d.ts.map +1 -1
- package/dist/notebook-creation/notebook-creator.js +49 -835
- package/dist/notebook-creation/notebook-creator.js.map +1 -1
- package/dist/notebook-creation/notebook-nav.d.ts +19 -0
- package/dist/notebook-creation/notebook-nav.d.ts.map +1 -0
- package/dist/notebook-creation/notebook-nav.js +239 -0
- package/dist/notebook-creation/notebook-nav.js.map +1 -0
- package/dist/notebook-creation/notebook-sync.d.ts.map +1 -1
- package/dist/notebook-creation/notebook-sync.js +36 -38
- package/dist/notebook-creation/notebook-sync.js.map +1 -1
- package/dist/notebook-creation/selector-discovery.d.ts.map +1 -1
- package/dist/notebook-creation/selector-discovery.js +17 -24
- package/dist/notebook-creation/selector-discovery.js.map +1 -1
- package/dist/notebook-creation/selectors.d.ts +26 -21
- package/dist/notebook-creation/selectors.d.ts.map +1 -1
- package/dist/notebook-creation/selectors.js +79 -36
- package/dist/notebook-creation/selectors.js.map +1 -1
- package/dist/notebook-creation/source-manager.d.ts +22 -0
- package/dist/notebook-creation/source-manager.d.ts.map +1 -1
- package/dist/notebook-creation/source-manager.js +716 -50
- package/dist/notebook-creation/source-manager.js.map +1 -1
- package/dist/notebook-creation/types.d.ts +4 -0
- package/dist/notebook-creation/types.d.ts.map +1 -1
- package/dist/notebook-creation/video-manager.d.ts.map +1 -1
- package/dist/notebook-creation/video-manager.js +45 -35
- package/dist/notebook-creation/video-manager.js.map +1 -1
- package/dist/observability/metrics.d.ts +19 -0
- package/dist/observability/metrics.d.ts.map +1 -0
- package/dist/observability/metrics.js +35 -0
- package/dist/observability/metrics.js.map +1 -0
- package/dist/quota/quota-manager.d.ts +11 -3
- package/dist/quota/quota-manager.d.ts.map +1 -1
- package/dist/quota/quota-manager.js +139 -47
- package/dist/quota/quota-manager.js.map +1 -1
- package/dist/resources/resource-handlers.d.ts.map +1 -1
- package/dist/resources/resource-handlers.js +29 -12
- package/dist/resources/resource-handlers.js.map +1 -1
- package/dist/session/browser-session.d.ts.map +1 -1
- package/dist/session/browser-session.js +22 -22
- package/dist/session/browser-session.js.map +1 -1
- package/dist/session/session-timeout.d.ts.map +1 -1
- package/dist/session/session-timeout.js +4 -2
- package/dist/session/session-timeout.js.map +1 -1
- package/dist/session/shared-context-manager.d.ts.map +1 -1
- package/dist/session/shared-context-manager.js +31 -30
- package/dist/session/shared-context-manager.js.map +1 -1
- package/dist/tools/annotations.js +9 -9
- package/dist/tools/annotations.js.map +1 -1
- package/dist/tools/definitions/ask-question.d.ts.map +1 -1
- package/dist/tools/definitions/ask-question.js +35 -100
- package/dist/tools/definitions/ask-question.js.map +1 -1
- package/dist/tools/definitions/chat-history.d.ts +47 -1
- package/dist/tools/definitions/chat-history.d.ts.map +1 -1
- package/dist/tools/definitions/chat-history.js +10 -1
- package/dist/tools/definitions/chat-history.js.map +1 -1
- package/dist/tools/definitions/data-tables.d.ts.map +1 -1
- package/dist/tools/definitions/data-tables.js +2 -0
- package/dist/tools/definitions/data-tables.js.map +1 -1
- package/dist/tools/definitions/gemini.d.ts.map +1 -1
- package/dist/tools/definitions/gemini.js +40 -10
- package/dist/tools/definitions/gemini.js.map +1 -1
- package/dist/tools/definitions/notebook-management.d.ts.map +1 -1
- package/dist/tools/definitions/notebook-management.js +100 -70
- package/dist/tools/definitions/notebook-management.js.map +1 -1
- package/dist/tools/definitions/query-history.d.ts +47 -1
- package/dist/tools/definitions/query-history.d.ts.map +1 -1
- package/dist/tools/definitions/query-history.js +7 -0
- package/dist/tools/definitions/query-history.js.map +1 -1
- package/dist/tools/definitions/session-management.d.ts.map +1 -1
- package/dist/tools/definitions/session-management.js +5 -0
- package/dist/tools/definitions/session-management.js.map +1 -1
- package/dist/tools/definitions/system.d.ts.map +1 -1
- package/dist/tools/definitions/system.js +71 -100
- package/dist/tools/definitions/system.js.map +1 -1
- package/dist/tools/definitions/video.d.ts.map +1 -1
- package/dist/tools/definitions/video.js +3 -0
- package/dist/tools/definitions/video.js.map +1 -1
- package/dist/tools/definitions.d.ts.map +1 -1
- package/dist/tools/definitions.js +4 -0
- package/dist/tools/definitions.js.map +1 -1
- package/dist/tools/handlers/ask-question.d.ts +1 -1
- package/dist/tools/handlers/ask-question.d.ts.map +1 -1
- package/dist/tools/handlers/ask-question.js +56 -12
- package/dist/tools/handlers/ask-question.js.map +1 -1
- package/dist/tools/handlers/audio-video.d.ts.map +1 -1
- package/dist/tools/handlers/audio-video.js +15 -7
- package/dist/tools/handlers/audio-video.js.map +1 -1
- package/dist/tools/handlers/auth.d.ts +14 -19
- package/dist/tools/handlers/auth.d.ts.map +1 -1
- package/dist/tools/handlers/auth.js +77 -121
- package/dist/tools/handlers/auth.js.map +1 -1
- package/dist/tools/handlers/error-utils.d.ts +7 -0
- package/dist/tools/handlers/error-utils.d.ts.map +1 -0
- package/dist/tools/handlers/error-utils.js +17 -0
- package/dist/tools/handlers/error-utils.js.map +1 -0
- package/dist/tools/handlers/gemini.d.ts +1 -0
- package/dist/tools/handlers/gemini.d.ts.map +1 -1
- package/dist/tools/handlers/gemini.js +81 -51
- package/dist/tools/handlers/gemini.js.map +1 -1
- package/dist/tools/handlers/index.d.ts +39 -47
- package/dist/tools/handlers/index.d.ts.map +1 -1
- package/dist/tools/handlers/index.js +13 -2
- package/dist/tools/handlers/index.js.map +1 -1
- package/dist/tools/handlers/notebook-creation.d.ts.map +1 -1
- package/dist/tools/handlers/notebook-creation.js +99 -20
- package/dist/tools/handlers/notebook-creation.js.map +1 -1
- package/dist/tools/handlers/notebook-management.d.ts +8 -8
- package/dist/tools/handlers/notebook-management.d.ts.map +1 -1
- package/dist/tools/handlers/notebook-management.js +34 -80
- package/dist/tools/handlers/notebook-management.js.map +1 -1
- package/dist/tools/handlers/session-management.d.ts.map +1 -1
- package/dist/tools/handlers/session-management.js +12 -5
- package/dist/tools/handlers/session-management.js.map +1 -1
- package/dist/tools/handlers/system.d.ts.map +1 -1
- package/dist/tools/handlers/system.js +45 -10
- package/dist/tools/handlers/system.js.map +1 -1
- package/dist/tools/handlers/types.d.ts +1 -1
- package/dist/tools/handlers/types.d.ts.map +1 -1
- package/dist/tools/handlers/webhooks.d.ts.map +1 -1
- package/dist/tools/handlers/webhooks.js +15 -13
- package/dist/tools/handlers/webhooks.js.map +1 -1
- package/dist/types.d.ts +7 -17
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/audit-logger.d.ts +19 -1
- package/dist/utils/audit-logger.d.ts.map +1 -1
- package/dist/utils/audit-logger.js +193 -27
- package/dist/utils/audit-logger.js.map +1 -1
- package/dist/utils/cleanup-manager.d.ts.map +1 -1
- package/dist/utils/cleanup-manager.js +6 -3
- package/dist/utils/cleanup-manager.js.map +1 -1
- package/dist/utils/crypto.d.ts +4 -1
- package/dist/utils/crypto.d.ts.map +1 -1
- package/dist/utils/crypto.js +32 -21
- package/dist/utils/crypto.js.map +1 -1
- package/dist/utils/file-lock.d.ts.map +1 -1
- package/dist/utils/file-lock.js +80 -16
- package/dist/utils/file-lock.js.map +1 -1
- package/dist/utils/file-permissions.d.ts +2 -0
- package/dist/utils/file-permissions.d.ts.map +1 -1
- package/dist/utils/file-permissions.js +2 -1
- package/dist/utils/file-permissions.js.map +1 -1
- package/dist/utils/logger.d.ts +4 -0
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +16 -0
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/page-utils.d.ts.map +1 -1
- package/dist/utils/page-utils.js +22 -39
- package/dist/utils/page-utils.js.map +1 -1
- package/dist/utils/response-validator.d.ts.map +1 -1
- package/dist/utils/response-validator.js +27 -22
- package/dist/utils/response-validator.js.map +1 -1
- package/dist/utils/secrets-scanner.d.ts +11 -0
- package/dist/utils/secrets-scanner.d.ts.map +1 -1
- package/dist/utils/secrets-scanner.js +63 -15
- package/dist/utils/secrets-scanner.js.map +1 -1
- package/dist/utils/secure-memory.d.ts +9 -31
- package/dist/utils/secure-memory.d.ts.map +1 -1
- package/dist/utils/secure-memory.js +17 -102
- package/dist/utils/secure-memory.js.map +1 -1
- package/dist/utils/security.d.ts +4 -3
- package/dist/utils/security.d.ts.map +1 -1
- package/dist/utils/security.js +41 -11
- package/dist/utils/security.js.map +1 -1
- package/dist/utils/stealth-utils.d.ts.map +1 -1
- package/dist/utils/stealth-utils.js +4 -4
- package/dist/utils/stealth-utils.js.map +1 -1
- package/dist/webhooks/types.d.ts +2 -0
- package/dist/webhooks/types.d.ts.map +1 -1
- package/dist/webhooks/webhook-dispatcher.d.ts +80 -12
- package/dist/webhooks/webhook-dispatcher.d.ts.map +1 -1
- package/dist/webhooks/webhook-dispatcher.js +472 -72
- package/dist/webhooks/webhook-dispatcher.js.map +1 -1
- package/docs/archive/ISSUES-legacy-2026-04-24.md +644 -0
- package/docs/dependency-risk.md +25 -0
- package/docs/testing-runbook.md +166 -0
- package/docs/usage-guide.md +2 -1
- package/package.json +33 -16
|
@@ -1,75 +1,51 @@
|
|
|
1
1
|
export const notebookManagementTools = [
|
|
2
2
|
{
|
|
3
3
|
name: "add_notebook",
|
|
4
|
-
description:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
When the user says: "I have a NotebookLM with X"
|
|
8
|
-
|
|
9
|
-
1) Ask URL: "What is the NotebookLM URL?"
|
|
10
|
-
2) Ask content: "What knowledge is inside?" (1–2 sentences)
|
|
11
|
-
3) Ask topics: "Which topics does it cover?" (3–5)
|
|
12
|
-
4) Ask use cases: "When should we consult it?"
|
|
13
|
-
5) Propose metadata and confirm:
|
|
14
|
-
- Name: [suggested]
|
|
15
|
-
- Description: [from user]
|
|
16
|
-
- Topics: [list]
|
|
17
|
-
- Use cases: [list]
|
|
18
|
-
"Add it to your library now?"
|
|
19
|
-
6) Only after explicit "Yes" → call this tool
|
|
20
|
-
|
|
21
|
-
## Rules
|
|
22
|
-
- Do not add without user permission
|
|
23
|
-
- Do not guess metadata — ask concisely
|
|
24
|
-
- Confirm summary before calling the tool
|
|
25
|
-
|
|
26
|
-
## Example
|
|
27
|
-
User: "I have a notebook with n8n docs"
|
|
28
|
-
You: Ask URL → content → topics → use cases; propose summary
|
|
29
|
-
User: "Yes"
|
|
30
|
-
You: Call add_notebook
|
|
31
|
-
|
|
32
|
-
## How to Get a NotebookLM Share Link
|
|
33
|
-
|
|
34
|
-
Visit https://notebooklm.google/ → Login (free: 100 notebooks, 50 sources each, 500k words, 50 daily queries)
|
|
35
|
-
1) Click "+ New" (top right) → Upload sources (docs, knowledge)
|
|
36
|
-
2) Click "Share" (top right) → Select "Anyone with the link"
|
|
37
|
-
3) Click "Copy link" (bottom left) → Give this link to Claude
|
|
38
|
-
|
|
39
|
-
(Upgraded: Google AI Pro/Ultra gives 5x higher limits)`,
|
|
4
|
+
description: "Add a NotebookLM notebook to the local library after explicit user confirmation. " +
|
|
5
|
+
"Provide the NotebookLM URL plus concise metadata: name, description, topics, and optional use cases/tags. " +
|
|
6
|
+
"Do not infer missing metadata; ask the user first.",
|
|
40
7
|
inputSchema: {
|
|
41
8
|
type: "object",
|
|
9
|
+
additionalProperties: false,
|
|
42
10
|
properties: {
|
|
43
11
|
url: {
|
|
44
12
|
type: "string",
|
|
45
|
-
|
|
13
|
+
pattern: "^https://notebooklm\\.google\\.com/",
|
|
14
|
+
maxLength: 512,
|
|
15
|
+
description: "The NotebookLM notebook URL (must start with https://notebooklm.google.com/)",
|
|
46
16
|
},
|
|
47
17
|
name: {
|
|
48
18
|
type: "string",
|
|
19
|
+
maxLength: 200,
|
|
49
20
|
description: "Display name for the notebook (e.g., 'n8n Documentation')",
|
|
50
21
|
},
|
|
51
22
|
description: {
|
|
52
23
|
type: "string",
|
|
24
|
+
maxLength: 1000,
|
|
53
25
|
description: "What knowledge/content is in this notebook",
|
|
54
26
|
},
|
|
55
27
|
topics: {
|
|
56
28
|
type: "array",
|
|
57
|
-
items: { type: "string" },
|
|
29
|
+
items: { type: "string", maxLength: 100 },
|
|
30
|
+
maxItems: 50,
|
|
58
31
|
description: "Topics covered in this notebook",
|
|
59
32
|
},
|
|
60
33
|
content_types: {
|
|
61
34
|
type: "array",
|
|
62
|
-
items: { type: "string" },
|
|
35
|
+
items: { type: "string", maxLength: 100 },
|
|
36
|
+
maxItems: 50,
|
|
63
37
|
description: "Types of content (e.g., ['documentation', 'examples', 'best practices'])",
|
|
64
38
|
},
|
|
65
39
|
use_cases: {
|
|
66
40
|
type: "array",
|
|
67
|
-
items: { type: "string" },
|
|
41
|
+
items: { type: "string", maxLength: 200 },
|
|
42
|
+
maxItems: 20,
|
|
68
43
|
description: "When should Claude use this notebook (e.g., ['Implementing n8n workflows'])",
|
|
69
44
|
},
|
|
70
45
|
tags: {
|
|
71
46
|
type: "array",
|
|
72
|
-
items: { type: "string" },
|
|
47
|
+
items: { type: "string", maxLength: 100 },
|
|
48
|
+
maxItems: 50,
|
|
73
49
|
description: "Optional tags for organization",
|
|
74
50
|
},
|
|
75
51
|
},
|
|
@@ -82,6 +58,7 @@ Visit https://notebooklm.google/ → Login (free: 100 notebooks, 50 sources each
|
|
|
82
58
|
"Use this to present options, then ask which notebook to use for the task.",
|
|
83
59
|
inputSchema: {
|
|
84
60
|
type: "object",
|
|
61
|
+
additionalProperties: false,
|
|
85
62
|
properties: {},
|
|
86
63
|
},
|
|
87
64
|
},
|
|
@@ -90,9 +67,11 @@ Visit https://notebooklm.google/ → Login (free: 100 notebooks, 50 sources each
|
|
|
90
67
|
description: "Get detailed information about a specific notebook by ID",
|
|
91
68
|
inputSchema: {
|
|
92
69
|
type: "object",
|
|
70
|
+
additionalProperties: false,
|
|
93
71
|
properties: {
|
|
94
72
|
id: {
|
|
95
73
|
type: "string",
|
|
74
|
+
maxLength: 128,
|
|
96
75
|
description: "The notebook ID",
|
|
97
76
|
},
|
|
98
77
|
},
|
|
@@ -118,6 +97,7 @@ User: "Now let's build the React frontend"
|
|
|
118
97
|
You: "Switching to React notebook..." (call select_notebook)`,
|
|
119
98
|
inputSchema: {
|
|
120
99
|
type: "object",
|
|
100
|
+
additionalProperties: false,
|
|
121
101
|
properties: {
|
|
122
102
|
id: {
|
|
123
103
|
type: "string",
|
|
@@ -148,42 +128,52 @@ You: "Switching to React notebook..." (call select_notebook)`,
|
|
|
148
128
|
Tip: You may update multiple fields at once if requested.`,
|
|
149
129
|
inputSchema: {
|
|
150
130
|
type: "object",
|
|
131
|
+
additionalProperties: false,
|
|
151
132
|
properties: {
|
|
152
133
|
id: {
|
|
153
134
|
type: "string",
|
|
135
|
+
maxLength: 128,
|
|
154
136
|
description: "The notebook ID to update",
|
|
155
137
|
},
|
|
156
138
|
name: {
|
|
157
139
|
type: "string",
|
|
140
|
+
maxLength: 200,
|
|
158
141
|
description: "New display name",
|
|
159
142
|
},
|
|
160
143
|
description: {
|
|
161
144
|
type: "string",
|
|
145
|
+
maxLength: 1000,
|
|
162
146
|
description: "New description",
|
|
163
147
|
},
|
|
164
148
|
topics: {
|
|
165
149
|
type: "array",
|
|
166
|
-
items: { type: "string" },
|
|
150
|
+
items: { type: "string", maxLength: 100 },
|
|
151
|
+
maxItems: 50,
|
|
167
152
|
description: "New topics list",
|
|
168
153
|
},
|
|
169
154
|
content_types: {
|
|
170
155
|
type: "array",
|
|
171
|
-
items: { type: "string" },
|
|
156
|
+
items: { type: "string", maxLength: 100 },
|
|
157
|
+
maxItems: 20,
|
|
172
158
|
description: "New content types",
|
|
173
159
|
},
|
|
174
160
|
use_cases: {
|
|
175
161
|
type: "array",
|
|
176
|
-
items: { type: "string" },
|
|
162
|
+
items: { type: "string", maxLength: 200 },
|
|
163
|
+
maxItems: 20,
|
|
177
164
|
description: "New use cases",
|
|
178
165
|
},
|
|
179
166
|
tags: {
|
|
180
167
|
type: "array",
|
|
181
|
-
items: { type: "string" },
|
|
168
|
+
items: { type: "string", maxLength: 100 },
|
|
169
|
+
maxItems: 50,
|
|
182
170
|
description: "New tags",
|
|
183
171
|
},
|
|
184
172
|
url: {
|
|
185
173
|
type: "string",
|
|
186
|
-
|
|
174
|
+
pattern: "^https://notebooklm\\.google\\.com/",
|
|
175
|
+
maxLength: 512,
|
|
176
|
+
description: "New notebook URL (must start with https://notebooklm.google.com/)",
|
|
187
177
|
},
|
|
188
178
|
},
|
|
189
179
|
required: ["id"],
|
|
@@ -207,6 +197,7 @@ You: "Remove 'React Best Practices' from your library?"
|
|
|
207
197
|
User: "Yes" → call remove_notebook`,
|
|
208
198
|
inputSchema: {
|
|
209
199
|
type: "object",
|
|
200
|
+
additionalProperties: false,
|
|
210
201
|
properties: {
|
|
211
202
|
id: {
|
|
212
203
|
type: "string",
|
|
@@ -222,9 +213,12 @@ User: "Yes" → call remove_notebook`,
|
|
|
222
213
|
"Use to propose relevant notebooks for the task and then ask which to use.",
|
|
223
214
|
inputSchema: {
|
|
224
215
|
type: "object",
|
|
216
|
+
additionalProperties: false,
|
|
225
217
|
properties: {
|
|
226
218
|
query: {
|
|
227
219
|
type: "string",
|
|
220
|
+
minLength: 1,
|
|
221
|
+
maxLength: 500,
|
|
228
222
|
description: "Search query",
|
|
229
223
|
},
|
|
230
224
|
},
|
|
@@ -236,6 +230,7 @@ User: "Yes" → call remove_notebook`,
|
|
|
236
230
|
description: "Get statistics about your notebook library (total notebooks, usage, etc.)",
|
|
237
231
|
inputSchema: {
|
|
238
232
|
type: "object",
|
|
233
|
+
additionalProperties: false,
|
|
239
234
|
properties: {},
|
|
240
235
|
},
|
|
241
236
|
},
|
|
@@ -292,13 +287,16 @@ Create a notebook with multiple sources:
|
|
|
292
287
|
- Large files may take longer to process`,
|
|
293
288
|
inputSchema: {
|
|
294
289
|
type: "object",
|
|
290
|
+
additionalProperties: false,
|
|
295
291
|
properties: {
|
|
296
292
|
name: {
|
|
297
293
|
type: "string",
|
|
294
|
+
maxLength: 200,
|
|
298
295
|
description: "Display name for the new notebook",
|
|
299
296
|
},
|
|
300
297
|
sources: {
|
|
301
298
|
type: "array",
|
|
299
|
+
maxItems: 50,
|
|
302
300
|
items: {
|
|
303
301
|
type: "object",
|
|
304
302
|
properties: {
|
|
@@ -309,10 +307,12 @@ Create a notebook with multiple sources:
|
|
|
309
307
|
},
|
|
310
308
|
value: {
|
|
311
309
|
type: "string",
|
|
310
|
+
maxLength: 5000,
|
|
312
311
|
description: "URL, text content, or file path depending on type",
|
|
313
312
|
},
|
|
314
313
|
title: {
|
|
315
314
|
type: "string",
|
|
315
|
+
maxLength: 200,
|
|
316
316
|
description: "Optional title for text sources",
|
|
317
317
|
},
|
|
318
318
|
},
|
|
@@ -322,11 +322,13 @@ Create a notebook with multiple sources:
|
|
|
322
322
|
},
|
|
323
323
|
description: {
|
|
324
324
|
type: "string",
|
|
325
|
+
maxLength: 1000,
|
|
325
326
|
description: "Optional description for the notebook in your library",
|
|
326
327
|
},
|
|
327
328
|
topics: {
|
|
328
329
|
type: "array",
|
|
329
|
-
items: { type: "string" },
|
|
330
|
+
items: { type: "string", maxLength: 100 },
|
|
331
|
+
maxItems: 50,
|
|
330
332
|
description: "Optional topics for categorization in your library",
|
|
331
333
|
},
|
|
332
334
|
auto_add_to_library: {
|
|
@@ -394,6 +396,7 @@ With auto-fix to remove stale entries:
|
|
|
394
396
|
\`\`\``,
|
|
395
397
|
inputSchema: {
|
|
396
398
|
type: "object",
|
|
399
|
+
additionalProperties: false,
|
|
397
400
|
properties: {
|
|
398
401
|
auto_fix: {
|
|
399
402
|
type: "boolean",
|
|
@@ -408,33 +411,21 @@ With auto-fix to remove stale entries:
|
|
|
408
411
|
},
|
|
409
412
|
{
|
|
410
413
|
name: "list_sources",
|
|
411
|
-
description:
|
|
412
|
-
|
|
413
|
-
## Returns
|
|
414
|
-
Array of sources with:
|
|
415
|
-
- id: Source identifier (for use with remove_source)
|
|
416
|
-
- title: Source name/title
|
|
417
|
-
- type: url, text, file, drive, or unknown
|
|
418
|
-
- status: ready, processing, or failed
|
|
419
|
-
|
|
420
|
-
## Example
|
|
421
|
-
\`\`\`json
|
|
422
|
-
{ "notebook_id": "my-notebook" }
|
|
423
|
-
\`\`\`
|
|
424
|
-
|
|
425
|
-
Or with direct URL:
|
|
426
|
-
\`\`\`json
|
|
427
|
-
{ "notebook_url": "https://notebooklm.google.com/notebook/xxx" }
|
|
428
|
-
\`\`\``,
|
|
414
|
+
description: "List sources in a notebook. Provide notebook_id or notebook_url; if neither is provided, " +
|
|
415
|
+
"the active notebook from the local library is used. Returns source id, title, type, and status.",
|
|
429
416
|
inputSchema: {
|
|
430
417
|
type: "object",
|
|
418
|
+
additionalProperties: false,
|
|
431
419
|
properties: {
|
|
432
420
|
notebook_id: {
|
|
433
421
|
type: "string",
|
|
422
|
+
maxLength: 128,
|
|
434
423
|
description: "Library notebook ID",
|
|
435
424
|
},
|
|
436
425
|
notebook_url: {
|
|
437
426
|
type: "string",
|
|
427
|
+
pattern: "^https://notebooklm\\.google\\.com/",
|
|
428
|
+
maxLength: 512,
|
|
438
429
|
description: "Direct notebook URL (overrides notebook_id)",
|
|
439
430
|
},
|
|
440
431
|
},
|
|
@@ -444,6 +435,8 @@ Or with direct URL:
|
|
|
444
435
|
name: "add_source",
|
|
445
436
|
description: `Add a source to an existing NotebookLM notebook.
|
|
446
437
|
|
|
438
|
+
If neither \`notebook_id\` nor \`notebook_url\` is provided, this tool uses the currently active notebook from the local library.
|
|
439
|
+
|
|
447
440
|
## Source Types
|
|
448
441
|
- **url**: Web page URL
|
|
449
442
|
- **text**: Text content (paste)
|
|
@@ -461,13 +454,17 @@ Or with direct URL:
|
|
|
461
454
|
\`\`\``,
|
|
462
455
|
inputSchema: {
|
|
463
456
|
type: "object",
|
|
457
|
+
additionalProperties: false,
|
|
464
458
|
properties: {
|
|
465
459
|
notebook_id: {
|
|
466
460
|
type: "string",
|
|
461
|
+
maxLength: 128,
|
|
467
462
|
description: "Library notebook ID",
|
|
468
463
|
},
|
|
469
464
|
notebook_url: {
|
|
470
465
|
type: "string",
|
|
466
|
+
pattern: "^https://notebooklm\\.google\\.com/",
|
|
467
|
+
maxLength: 512,
|
|
471
468
|
description: "Direct notebook URL (overrides notebook_id)",
|
|
472
469
|
},
|
|
473
470
|
source: {
|
|
@@ -480,10 +477,12 @@ Or with direct URL:
|
|
|
480
477
|
},
|
|
481
478
|
value: {
|
|
482
479
|
type: "string",
|
|
480
|
+
maxLength: 5000,
|
|
483
481
|
description: "URL, text content, or file path",
|
|
484
482
|
},
|
|
485
483
|
title: {
|
|
486
484
|
type: "string",
|
|
485
|
+
maxLength: 200,
|
|
487
486
|
description: "Optional title for text sources",
|
|
488
487
|
},
|
|
489
488
|
},
|
|
@@ -523,17 +522,24 @@ Or with direct URL:
|
|
|
523
522
|
\`\`\``,
|
|
524
523
|
inputSchema: {
|
|
525
524
|
type: "object",
|
|
525
|
+
additionalProperties: false,
|
|
526
526
|
properties: {
|
|
527
527
|
folder_path: {
|
|
528
528
|
type: "string",
|
|
529
|
-
|
|
529
|
+
// Reject path traversal sequences and home-dir expansion (I048)
|
|
530
|
+
pattern: "^(?!.*\\.\\.)(?!~)/.+",
|
|
531
|
+
maxLength: 500,
|
|
532
|
+
description: "Absolute path to the folder to scan (no .. or ~ allowed)",
|
|
530
533
|
},
|
|
531
534
|
notebook_id: {
|
|
532
535
|
type: "string",
|
|
536
|
+
maxLength: 128,
|
|
533
537
|
description: "Library notebook ID to add sources to",
|
|
534
538
|
},
|
|
535
539
|
notebook_url: {
|
|
536
540
|
type: "string",
|
|
541
|
+
pattern: "^https://notebooklm\\.google\\.com/",
|
|
542
|
+
maxLength: 512,
|
|
537
543
|
description: "Direct notebook URL (overrides notebook_id)",
|
|
538
544
|
},
|
|
539
545
|
recursive: {
|
|
@@ -542,7 +548,8 @@ Or with direct URL:
|
|
|
542
548
|
},
|
|
543
549
|
file_types: {
|
|
544
550
|
type: "array",
|
|
545
|
-
items: { type: "string" },
|
|
551
|
+
items: { type: "string", maxLength: 10 },
|
|
552
|
+
maxItems: 20,
|
|
546
553
|
description: "File extensions to include (default: [\".pdf\", \".txt\", \".md\", \".docx\"])",
|
|
547
554
|
},
|
|
548
555
|
dry_run: {
|
|
@@ -551,6 +558,7 @@ Or with direct URL:
|
|
|
551
558
|
},
|
|
552
559
|
notebook_name_prefix: {
|
|
553
560
|
type: "string",
|
|
561
|
+
maxLength: 100,
|
|
554
562
|
description: "Prefix for auto-split notebooks when file count exceeds tier limit (default: folder name)",
|
|
555
563
|
},
|
|
556
564
|
},
|
|
@@ -561,6 +569,8 @@ Or with direct URL:
|
|
|
561
569
|
name: "remove_source",
|
|
562
570
|
description: `Remove a source from a NotebookLM notebook.
|
|
563
571
|
|
|
572
|
+
If neither \`notebook_id\` nor \`notebook_url\` is provided, this tool uses the currently active notebook from the local library.
|
|
573
|
+
|
|
564
574
|
## Usage
|
|
565
575
|
1. First call list_sources to get source IDs
|
|
566
576
|
2. Then call remove_source with the source ID
|
|
@@ -574,17 +584,22 @@ Or with direct URL:
|
|
|
574
584
|
\`\`\``,
|
|
575
585
|
inputSchema: {
|
|
576
586
|
type: "object",
|
|
587
|
+
additionalProperties: false,
|
|
577
588
|
properties: {
|
|
578
589
|
notebook_id: {
|
|
579
590
|
type: "string",
|
|
591
|
+
maxLength: 128,
|
|
580
592
|
description: "Library notebook ID",
|
|
581
593
|
},
|
|
582
594
|
notebook_url: {
|
|
583
595
|
type: "string",
|
|
596
|
+
pattern: "^https://notebooklm\\.google\\.com/",
|
|
597
|
+
maxLength: 512,
|
|
584
598
|
description: "Direct notebook URL (overrides notebook_id)",
|
|
585
599
|
},
|
|
586
600
|
source_id: {
|
|
587
601
|
type: "string",
|
|
602
|
+
maxLength: 128,
|
|
588
603
|
description: "Source ID from list_sources (e.g., 'source-0')",
|
|
589
604
|
},
|
|
590
605
|
},
|
|
@@ -614,6 +629,7 @@ Export to specific location:
|
|
|
614
629
|
\`\`\``,
|
|
615
630
|
inputSchema: {
|
|
616
631
|
type: "object",
|
|
632
|
+
additionalProperties: false,
|
|
617
633
|
properties: {
|
|
618
634
|
format: {
|
|
619
635
|
type: "string",
|
|
@@ -622,7 +638,9 @@ Export to specific location:
|
|
|
622
638
|
},
|
|
623
639
|
output_path: {
|
|
624
640
|
type: "string",
|
|
625
|
-
|
|
641
|
+
pattern: "^(?!.*\\.\\.)(?!~)/.+",
|
|
642
|
+
maxLength: 500,
|
|
643
|
+
description: "Output file path (optional, defaults to home directory; no .. or ~ allowed)",
|
|
626
644
|
},
|
|
627
645
|
},
|
|
628
646
|
},
|
|
@@ -673,6 +691,7 @@ Summary with:
|
|
|
673
691
|
- results: Array of individual results`,
|
|
674
692
|
inputSchema: {
|
|
675
693
|
type: "object",
|
|
694
|
+
additionalProperties: false,
|
|
676
695
|
properties: {
|
|
677
696
|
notebooks: {
|
|
678
697
|
type: "array",
|
|
@@ -681,10 +700,12 @@ Summary with:
|
|
|
681
700
|
properties: {
|
|
682
701
|
name: {
|
|
683
702
|
type: "string",
|
|
703
|
+
maxLength: 200,
|
|
684
704
|
description: "Display name for the notebook",
|
|
685
705
|
},
|
|
686
706
|
sources: {
|
|
687
707
|
type: "array",
|
|
708
|
+
maxItems: 20,
|
|
688
709
|
items: {
|
|
689
710
|
type: "object",
|
|
690
711
|
properties: {
|
|
@@ -695,10 +716,12 @@ Summary with:
|
|
|
695
716
|
},
|
|
696
717
|
value: {
|
|
697
718
|
type: "string",
|
|
719
|
+
maxLength: 5000,
|
|
698
720
|
description: "URL, text content, or file path",
|
|
699
721
|
},
|
|
700
722
|
title: {
|
|
701
723
|
type: "string",
|
|
724
|
+
maxLength: 200,
|
|
702
725
|
description: "Optional title for text sources",
|
|
703
726
|
},
|
|
704
727
|
},
|
|
@@ -708,11 +731,13 @@ Summary with:
|
|
|
708
731
|
},
|
|
709
732
|
description: {
|
|
710
733
|
type: "string",
|
|
734
|
+
maxLength: 1000,
|
|
711
735
|
description: "Optional description for the notebook",
|
|
712
736
|
},
|
|
713
737
|
topics: {
|
|
714
738
|
type: "array",
|
|
715
|
-
|
|
739
|
+
maxItems: 50,
|
|
740
|
+
items: { type: "string", maxLength: 100 },
|
|
716
741
|
description: "Optional topics for categorization",
|
|
717
742
|
},
|
|
718
743
|
},
|
|
@@ -753,6 +778,7 @@ Summary with:
|
|
|
753
778
|
\`\`\``,
|
|
754
779
|
inputSchema: {
|
|
755
780
|
type: "object",
|
|
781
|
+
additionalProperties: false,
|
|
756
782
|
properties: {
|
|
757
783
|
notebook_id: {
|
|
758
784
|
type: "string",
|
|
@@ -780,6 +806,7 @@ Summary with:
|
|
|
780
806
|
\`\`\``,
|
|
781
807
|
inputSchema: {
|
|
782
808
|
type: "object",
|
|
809
|
+
additionalProperties: false,
|
|
783
810
|
properties: {
|
|
784
811
|
notebook_id: {
|
|
785
812
|
type: "string",
|
|
@@ -812,6 +839,7 @@ Downloads to specified path or ~/notebooklm-audio-{timestamp}.mp3
|
|
|
812
839
|
\`\`\``,
|
|
813
840
|
inputSchema: {
|
|
814
841
|
type: "object",
|
|
842
|
+
additionalProperties: false,
|
|
815
843
|
properties: {
|
|
816
844
|
notebook_id: {
|
|
817
845
|
type: "string",
|
|
@@ -823,7 +851,9 @@ Downloads to specified path or ~/notebooklm-audio-{timestamp}.mp3
|
|
|
823
851
|
},
|
|
824
852
|
output_path: {
|
|
825
853
|
type: "string",
|
|
826
|
-
|
|
854
|
+
pattern: "^(?!.*\\.\\.)(?!~)/.+",
|
|
855
|
+
maxLength: 500,
|
|
856
|
+
description: "Optional output file path (absolute, no .. or ~ allowed)",
|
|
827
857
|
},
|
|
828
858
|
},
|
|
829
859
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notebook-management.js","sourceRoot":"","sources":["../../../src/tools/definitions/notebook-management.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAAW;IAC7C;QACE,IAAI,EAAE,cAAc;QACpB,WAAW,EACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAmCiD;QACnD,WAAW,EAAE;YACX,IA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BACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,2BAA2B;iBACzC;aACF;SACF;KACF;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"notebook-management.js","sourceRoot":"","sources":["../../../src/tools/definitions/notebook-management.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAAW;IAC7C;QACE,IAAI,EAAE,cAAc;QACpB,WAAW,EACT,mFAAmF;YACnF,4GAA4G;YAC5G,oDAAoD;QACtD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,UAAU,EAAE;gBACV,GAAG,EAAE;oBACH,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,qCAAqC;oBAC9C,SAAS,EAAE,GAAG;oBACd,WAAW,EAAE,8EAA8E;iBAC5F;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;oBACd,SAAS,EAAE,GAAG;oBACd,WAAW,EAAE,2DAA2D;iBACzE;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,SAAS,EAAE,IAAI;oBACf,WAAW,EAAE,4CAA4C;iBAC1D;gBACD,MAAM,EAAE;oBACN,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE;oBACzC,QAAQ,EAAE,EAAE;oBACZ,WAAW,EAAE,iCAAiC;iBAC/C;gBACD,aAAa,EAAE;oBACb,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE;oBACzC,QAAQ,EAAE,EAAE;oBACZ,WAAW,EACT,0EAA0E;iBAC7E;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE;oBACzC,QAAQ,EAAE,EA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,WAAW,EAAE,gDAAgD;iBAC9D;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,uBAAuB;oBAChC,SAAS,EAAE,GAAG;oBACd,WAAW,EAAE,0DAA0D;iBACxE;aACF;SACF;KACF;CACF,CAAC"}
|
|
@@ -5,5 +5,51 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { Tool } from "../../types.js";
|
|
7
7
|
export declare const queryHistoryTool: Tool;
|
|
8
|
-
export declare const queryHistoryTools:
|
|
8
|
+
export declare const queryHistoryTools: {
|
|
9
|
+
inputSchema: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
type: "object";
|
|
12
|
+
properties?: {
|
|
13
|
+
[x: string]: object;
|
|
14
|
+
} | undefined;
|
|
15
|
+
required?: string[] | undefined;
|
|
16
|
+
};
|
|
17
|
+
name: string;
|
|
18
|
+
description?: string | undefined;
|
|
19
|
+
outputSchema?: {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
type: "object";
|
|
22
|
+
properties?: {
|
|
23
|
+
[x: string]: object;
|
|
24
|
+
} | undefined;
|
|
25
|
+
required?: string[] | undefined;
|
|
26
|
+
} | undefined;
|
|
27
|
+
annotations?: {
|
|
28
|
+
title?: string | undefined;
|
|
29
|
+
readOnlyHint?: boolean | undefined;
|
|
30
|
+
destructiveHint?: boolean | undefined;
|
|
31
|
+
idempotentHint?: boolean | undefined;
|
|
32
|
+
openWorldHint?: boolean | undefined;
|
|
33
|
+
} | undefined;
|
|
34
|
+
execution?: {
|
|
35
|
+
taskSupport?: import("zod/v4/core").$InferEnumOutput<{
|
|
36
|
+
optional: "optional";
|
|
37
|
+
required: "required";
|
|
38
|
+
forbidden: "forbidden";
|
|
39
|
+
}> | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
_meta?: {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
} | undefined;
|
|
44
|
+
icons?: {
|
|
45
|
+
src: string;
|
|
46
|
+
mimeType?: string | undefined;
|
|
47
|
+
sizes?: string[] | undefined;
|
|
48
|
+
theme?: import("zod/v4/core").$InferEnumOutput<{
|
|
49
|
+
light: "light";
|
|
50
|
+
dark: "dark";
|
|
51
|
+
}> | undefined;
|
|
52
|
+
}[] | undefined;
|
|
53
|
+
title?: string | undefined;
|
|
54
|
+
}[];
|
|
9
55
|
//# sourceMappingURL=query-history.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-history.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/query-history.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAE3C,eAAO,MAAM,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"query-history.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/query-history.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAE3C,eAAO,MAAM,gBAAgB,EAAE,IA2C9B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAqB,CAAC"}
|
|
@@ -16,25 +16,32 @@ Use this tool to:
|
|
|
16
16
|
Returns query entries with question, answer, notebook, session, and timing info.`,
|
|
17
17
|
inputSchema: {
|
|
18
18
|
type: "object",
|
|
19
|
+
additionalProperties: false,
|
|
19
20
|
properties: {
|
|
20
21
|
session_id: {
|
|
21
22
|
type: "string",
|
|
23
|
+
maxLength: 128,
|
|
22
24
|
description: "Filter queries by session ID",
|
|
23
25
|
},
|
|
24
26
|
notebook_id: {
|
|
25
27
|
type: "string",
|
|
28
|
+
maxLength: 128,
|
|
26
29
|
description: "Filter queries by notebook ID (from your library)",
|
|
27
30
|
},
|
|
28
31
|
date: {
|
|
29
32
|
type: "string",
|
|
33
|
+
pattern: "^\\d{4}-\\d{2}-\\d{2}$",
|
|
30
34
|
description: "Filter queries by date (format: YYYY-MM-DD)",
|
|
31
35
|
},
|
|
32
36
|
search: {
|
|
33
37
|
type: "string",
|
|
38
|
+
maxLength: 500,
|
|
34
39
|
description: "Search pattern to find in questions or answers",
|
|
35
40
|
},
|
|
36
41
|
limit: {
|
|
37
42
|
type: "number",
|
|
43
|
+
minimum: 1,
|
|
44
|
+
maximum: 500,
|
|
38
45
|
description: "Maximum number of entries to return (default: 50, max: 500)",
|
|
39
46
|
},
|
|
40
47
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-history.js","sourceRoot":"","sources":["../../../src/tools/definitions/query-history.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,MAAM,CAAC,MAAM,gBAAgB,GAAS;IACpC,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE;;;;;;;;iFAQkE;IAC/E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8BAA8B;aAC5C;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,mDAAmD;aACjE;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6CAA6C;aAC3D;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,gDAAgD;aAC9D;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6DAA6D;aAC3E;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,gBAAgB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"query-history.js","sourceRoot":"","sources":["../../../src/tools/definitions/query-history.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,MAAM,CAAC,MAAM,gBAAgB,GAAS;IACpC,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE;;;;;;;;iFAQkE;IAC/E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,oBAAoB,EAAE,KAAK;QAC3B,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,SAAS,EAAE,GAAG;gBACd,WAAW,EAAE,8BAA8B;aAC5C;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,SAAS,EAAE,GAAG;gBACd,WAAW,EAAE,mDAAmD;aACjE;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,wBAAwB;gBACjC,WAAW,EAAE,6CAA6C;aAC3D;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,SAAS,EAAE,GAAG;gBACd,WAAW,EAAE,gDAAgD;aAC9D;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC;gBACV,OAAO,EAAE,GAAG;gBACZ,WAAW,EAAE,6DAA6D;aAC3E;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-management.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/session-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAE1D,eAAO,MAAM,sBAAsB,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"session-management.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/session-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAE1D,eAAO,MAAM,sBAAsB,EAAE,IAAI,EA8CxC,CAAC"}
|