remove_note_from_topic
Remove notes from a knowledge base topic to maintain organization and relevance in your GetNote workspace.
Instructions
将笔记从知识库中移除。
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_id | Yes | 知识库 ID | |
| note_ids | Yes | 笔记 ID 列表 |
Implementation Reference
- src/client.ts:265-271 (handler)The actual API client method that performs the network request to remove notes from a topic.
async removeNoteFromTopic(body: { topic_id: string; note_ids: (number | string)[] }) { return this.request<RemoveNoteResp>( "POST", "/resource/knowledge/note/remove", undefined, body ); - src/index.ts:310-327 (registration)Registration of the remove_note_from_topic tool in the MCP tool list.
name: "remove_note_from_topic", description: "将笔记从知识库中移除。", inputSchema: { type: "object" as const, properties: { topic_id: { type: "string", description: "知识库 ID", }, note_ids: { type: "array", items: { type: ["number", "string"] }, description: "笔记 ID 列表", }, }, required: ["topic_id", "note_ids"], }, }, - src/index.ts:635-640 (handler)Tool handler logic that delegates the remove_note_from_topic tool invocation to the client.
case "remove_note_from_topic": { return client.removeNoteFromTopic({ topic_id: input.topic_id as string, note_ids: input.note_ids as (number | string)[], }); }