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.
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": {
"file": "<file>",
"id": "<id>",
"fields": "<fields>"
},
"name": "bib:update"
}
}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"}) |