@getnote/mcp 1.5.1 → 1.5.2
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/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/index.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -144,7 +144,7 @@ const TOOLS = [
|
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
name: "get_note",
|
|
147
|
-
description: "
|
|
147
|
+
description: "获取指定笔记的详细内容,包括正文、标签、附件、音频转录、网页链接等。\n\n**字段语义说明(AI Agent 重要参考)**:\n`content` 通常是 AI 总结,不一定是原文。不同类型笔记的原文字段如下:\n- 普通文字笔记(plain_text):原文 = `note.content`\n- 链接/网页笔记(link):原文 = `note.web_page.content`,AI 总结 = `note.content`\n- 录音笔记(audio/local_audio 等):转写原文 = `note.audio.original`,AI 总结 = `note.content`\n\n用户要求'读原文'时,先看 `note.note_type`,再按上述对应关系取字段。",
|
|
148
148
|
inputSchema: {
|
|
149
149
|
type: "object",
|
|
150
150
|
properties: {
|
|
@@ -336,7 +336,7 @@ const TOOLS = [
|
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
name: "list_topic_notes",
|
|
339
|
-
description: "获取指定知识库内的笔记列表(每页 20
|
|
339
|
+
description: "获取指定知识库内的笔记列表(每页 20 条)。\n\n**AI Agent 提示**:列表返回的 `content` 字段可能较长且通常为 AI 总结。如需先获取标题和类型再按需读详情,可用此接口获取 `note_id` 列表,再对感兴趣的条目逐一调用 `get_note`。",
|
|
340
340
|
inputSchema: {
|
|
341
341
|
type: "object",
|
|
342
342
|
properties: {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -136,7 +136,7 @@ const TOOLS: Tool[] = [
|
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
name: "get_note",
|
|
139
|
-
description: "
|
|
139
|
+
description: "获取指定笔记的详细内容,包括正文、标签、附件、音频转录、网页链接等。\n\n**字段语义说明(AI Agent 重要参考)**:\n`content` 通常是 AI 总结,不一定是原文。不同类型笔记的原文字段如下:\n- 普通文字笔记(plain_text):原文 = `note.content`\n- 链接/网页笔记(link):原文 = `note.web_page.content`,AI 总结 = `note.content`\n- 录音笔记(audio/local_audio 等):转写原文 = `note.audio.original`,AI 总结 = `note.content`\n\n用户要求'读原文'时,先看 `note.note_type`,再按上述对应关系取字段。",
|
|
140
140
|
inputSchema: {
|
|
141
141
|
type: "object" as const,
|
|
142
142
|
properties: {
|
|
@@ -333,7 +333,7 @@ const TOOLS: Tool[] = [
|
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
335
|
name: "list_topic_notes",
|
|
336
|
-
description: "获取指定知识库内的笔记列表(每页 20
|
|
336
|
+
description: "获取指定知识库内的笔记列表(每页 20 条)。\n\n**AI Agent 提示**:列表返回的 `content` 字段可能较长且通常为 AI 总结。如需先获取标题和类型再按需读详情,可用此接口获取 `note_id` 列表,再对感兴趣的条目逐一调用 `get_note`。",
|
|
337
337
|
inputSchema: {
|
|
338
338
|
type: "object" as const,
|
|
339
339
|
properties: {
|