Retag or move many links at once
bulk_update_linksApply the same tag list or collection to many links in one action. Replace existing tags or add new ones, with confirmation needed to process the batch.
Instructions
Applies the same tag list and/or target collection to a set of links. Cheaper than one update_link per link, but far blunter: it can only set tags and move collections, and the tag list applies to every link in the set.
With replace_tags=true the given tags REPLACE whatever each link had, so an empty tag list strips all tags from all of them. With replace_tags=false the tags are added to the existing ones. Either way this needs a confirmation token, because it rewrites many records at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | Yes | Tag names to apply to every link in the set. Pass [] with replace_tags=true to strip all tags. | |
| link_ids | Yes | Link ids, at most 200 | |
| replace_tags | Yes | true replaces each link's tags with the given list, false adds to them | |
| collection_id | No | Move every link to this collection (owner only) | |
| confirm_token | No | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |