readwise_get_daily_review
Retrieve daily review highlights for spaced repetition learning to enhance memory retention and reinforce knowledge through structured, recurring reminders.
Instructions
Get your daily review highlights for spaced repetition learning
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The core handler function that initializes the Readwise client, calls getDailyReview() API, processes the response to essential fields (review_id, review_url, highlights with text/title/author/note), and returns formatted JSON content.export async function handleGetDailyReview(args: any) { const client = await initializeClient(); const response = await client.getDailyReview(); // Strip to essentials for daily review const minimal = { review_id: response.data.review_id, review_url: response.data.review_url, highlights: response.data.highlights.map(h => ({ text: h.text, title: h.title, author: h.author, note: h.note || undefined })) }; return { content: [ { type: 'text', text: JSON.stringify(minimal, null, 2), }, ], }; }
- Tool schema definition including name, description, and empty input schema (no parameters required).name: 'readwise_get_daily_review', description: 'Get your daily review highlights for spaced repetition learning', inputSchema: { type: 'object', properties: {}, additionalProperties: false, }, },
- src/handlers/index.ts:48-49 (registration)Registration in the main tool dispatcher switch statement, mapping the tool name to the handleGetDailyReview handler.case 'readwise_get_daily_review': return handleGetDailyReview(args);