Update a collection
update_collectionUpdate a collection's name, description, color, parent, or public access while preserving existing collaborators. Owner-only; set parent_id=0 to move to top level.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collection_id": "<collection_id>"
},
"name": "update_collection"
}
}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. |