Rename Tag
rename_tagRename a tag globally across your Obsidian vault, updating both frontmatter and inline tags, with optional dry-run and rollback snapshot for safe changes.
Instructions
Rename a tag vault-wide, across both frontmatter tags arrays and inline #tag text. Defaults to dry-run and creates a rollback snapshot (restorable via rollback_bulk_edit) when applied.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "rename_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | New tag name, with or without a leading #. | |
| from | Yes | Existing tag name, with or without a leading #. | |
| dryRun | No | Preview only (default true). Set false to apply. | |
| includeNested | No | Also rename child tags under from/ (default false), e.g. project/a -> newname/a. |