Skip to main content
Glama

batchUpdateBookmarks

Update multiple bookmarks simultaneously in Raindrop.io by applying tags, marking as important, or moving to a specific collection for improved organization.

Instructions

Update multiple bookmarks at once

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collectionIdNoCollection ID to move bookmarks to
idsYesList of bookmark IDs
importantNoMark as important
tagsNoTags to apply to all bookmarks

Implementation Reference

  • The `batchUpdateBookmarks` method in the `RaindropService` class provides the core implementation for batch updating multiple bookmarks. It constructs a request body with the provided IDs and updates (tags, collection, important flag, broken flag) and sends a PUT request to the Raindrop.io API endpoint `/raindrops`. Returns true if the update was successful.
    /** * Batch update bookmarks * Raindrop.io API: PUT /raindrops */ async batchUpdateBookmarks(ids: number[], updates: { tags?: string[]; collection?: number; important?: boolean; broken?: boolean; }): Promise<boolean> { const body: any = { ids }; if (updates.tags) body.tags = updates.tags; if (updates.collection) body.collection = { $id: updates.collection }; if (updates.important !== undefined) body.important = updates.important; if (updates.broken !== undefined) body.broken = updates.broken; const { data } = await this.client.PUT('/raindrops', { body }); return !!data?.result; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adeze/raindrop-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server