get_note
Retrieve a specific note from NotesKeep by its ID to access saved text or checklist content for review or editing.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the note to retrieve |
Implementation Reference
- src/index.ts:77-102 (handler)The "get_note" tool implementation, including schema definition and request handling.
server.tool( "get_note", { id: z.number().describe("ID of the note to retrieve"), }, async ({ id }) => { try { const data = await apiRequest(`/api/notes/${id}`); return { content: [{ type: "text", text: JSON.stringify(data.note, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: `Error getting note: ${error}` }], isError: true }; } } );