Bulk Update Frontmatter
bulk_update_frontmatterUpdate frontmatter fields across all notes in a folder or vault, with dry-run preview and rollback snapshot.
Instructions
Merge the same frontmatter fields into every note under a folder (or the whole vault). Only notes where a value actually changes are touched. Defaults to dry-run, enforces maxFiles, 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": {
"fields": "<fields>"
},
"name": "bulk_update_frontmatter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview only (default true). Set false to apply. | |
| fields | Yes | Fields to add or replace on every matching note. | |
| folder | No | Optional vault-relative folder scope. Omit for the whole vault. | |
| maxFiles | No | Abort above this changed-file count (default 100). |