get_note
Retrieve detailed note content including text, tags, attachments, audio transcripts, and web links from the GetNotes platform using note ID.
Instructions
获取指定笔记的详细内容,包括正文、标签、附件、音频转录、网页链接等。
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 笔记 ID | |
| image_quality | No | 图片质量。传 'original' 返回正文中图片的原图链接(无压缩) |
Implementation Reference
- src/client.ts:102-104 (handler)Implementation of the getNote method in the API client.
async getNote(id: number | string, image_quality?: string) { return this.request<GetNoteResp>("GET", "/resource/note/detail", { id, image_quality }); } - src/index.ts:74-92 (registration)Tool registration for get_note in the MCP server.
{ name: "get_note", description: "获取指定笔记的详细内容,包括正文、标签、附件、音频转录、网页链接等。", inputSchema: { type: "object" as const, properties: { id: { type: ["number", "string"], description: "笔记 ID", }, image_quality: { type: "string", enum: ["original"], description: "图片质量。传 'original' 返回正文中图片的原图链接(无压缩)", }, }, required: ["id"], }, }, - src/index.ts:563-565 (handler)Tool handler for get_note in the MCP server.
case "get_note": { return client.getNote(input.id as number | string, input.image_quality as string | undefined); } - src/client.ts:396-398 (schema)Response type definition for get_note.
export interface GetNoteResp { note: NoteDetail; }