View as Markdown
Raindrop icon

Raindrop ACTION

Update Collection

Update an existing collection. See the docs here
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Raindrop account once, then configure and run Update Collection from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "raindrop-update-collection",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    raindrop: { authProvisionId: "apn_xxxxxxx" },
    collectionId: "Collection ID",
    expanded: true,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Update Collection inputs
Property Type Description
collectionId Collection ID string
The collection ID
Required Dynamic
expanded Expanded boolean
Whether the collection's sub-collections are expanded
Optional
title Title string
Name of the collection
Required
sort Sort integer
The order of collection (descending). Defines the position of the collection among all the collections with the same parent ID
Optional
public Public boolean
Collection and raindrops that it contains will be accessible without authentication?
Optional
parentId Parent ID string
The ID of parent collection. Empty for root collections
Optional Dynamic
view View string
View style of collection. Defaults to list
Optional Dynamic
cover Cover string[]
Collection cover url
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
raindrop-update-collection
Version
0.0.6
App
Raindrop
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes