getHighlights
Retrieve highlights for a specific bookmark using the Raindrop.io bookmark manager by providing the bookmark ID.
Instructions
Get highlights for a specific bookmark
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raindropId | Yes | Bookmark ID |
Implementation Reference
- src/services/raindrop.service.ts:324-330 (handler)The handler function that implements the logic for the 'getHighlights' tool by fetching highlights for a given Raindrop bookmark ID from the Raindrop.io API.async getHighlights(raindropId: number): Promise<Highlight[]> { const { data } = await this.client.GET('/raindrop/{id}/highlights', { params: { path: { id: raindropId } } }); if (!data?.items) throw new Error('No highlights found'); return [...data.items]; }