rename_tag
Rename a tag across an Obsidian vault in frontmatter and inline text, including nested child tags; merges into an existing tag and defaults to dry-run for safe review.
Instructions
Rename a tag across the whole vault, in frontmatter and inline, including nested children (#old/x → #new/x). Renaming onto an existing tag merges them. dry_run defaults to true.
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 | ||
| from | Yes | ||
| vault | No | Vault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian. | |
| dry_run | No |