bib:validate
Check a bibliography file for YAML syntax errors, missing required CSL fields, duplicate IDs, and absent issued dates. Returns actionable errors and warnings.
Instructions
Validate the entire bibliography file: YAML syntax, required fields per CSL type, duplicate IDs, and missing issued dates. Returns a list of errors and warnings.
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>"
},
"name": "bib:validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |