delete_note
Remove notes from the GetNote platform by moving them to the trash. Specify the note ID to delete content.
Instructions
删除笔记(移入回收站)。需要 note.content.trash scope。
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_id | Yes | 笔记 ID |
Implementation Reference
- src/client.ts:110-114 (handler)The actual implementation of the deleteNote function which sends the network request.
async deleteNote(note_id: number | string) { return this.request<DeleteNoteResp>("POST", "/resource/note/delete", undefined, { note_id, }); } - src/index.ts:152-154 (registration)Registration of the delete_note tool in the MCP tool list.
name: "delete_note", description: "删除笔记(移入回收站)。需要 note.content.trash scope。", inputSchema: { - src/index.ts:580-582 (handler)The handler switch case that triggers deleteNote.
case "delete_note": { return client.deleteNote(input.note_id as number | string); }