Update a collection
update_collectionUpdate a collection's metadata—name, color, description, parent, or public status—without removing its existing collaborators.
Instructions
Changes a collection. Fields that are not given stay as they are: the tool reads the collection first and merges, because the underlying route rebuilds the member list from the request body and would otherwise remove every collaborator.
Only the owner of a collection may update it. To move a collection to the top level pass parent_id=0 — Linkwarden needs an explicit marker for that and ignores null.
Setting is_public=true needs a confirmation token: it makes the collection and every link in it readable by anyone who has the URL, without logging in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| color | No | ||
| is_public | No | true publishes the collection to anyone with the link (needs confirmation), false makes it private again | |
| parent_id | No | Id of the new parent collection, or 0 to move this collection to the top level | |
| description | No | ||
| collection_id | Yes | Numeric id of the collection — the "id" field returned by list_collections | |
| confirm_token | No | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |