bib:update
Update only the specified fields of an existing bibliography entry, leaving all others untouched. Creates a .bak backup before writing the changes.
Instructions
Update fields of an existing bibliography entry. Only the specified fields are changed; all other fields remain untouched. Creates a .bak backup before writing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The citation ID to update | |
| file | Yes | Absolute path to the CSL-YAML bibliography file (required). Look for "bibliography:" in pandoc.yaml or the YAML frontmatter of .md files. | |
| style | No | Optional path to a CSL style file (.csl). Enables style-aware required-field validation. | |
| fields | Yes | Fields to update (e.g., {"url": "https://...", "page": "123"}) |