Rename a tag
rename_tagRename a tag in Linkwarden while preserving all bookmarks that use it. Avoid duplicate tag names by using merge_tags instead.
Instructions
Renames a tag; every link carrying it keeps it. Tag names are unique per account, so renaming a tag to a name that already exists fails — use merge_tags to fold two tags into one instead.
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": {
"tag_id": "<tag_id>",
"name": "<name>"
},
"name": "rename_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New tag name | |
| tag_id | Yes | Numeric id of the tag — the "id" field returned by list_tags |