bib:exists
Check whether a citation ID exists in a CSL-YAML bibliography file before citing it. Avoid broken citations by verifying IDs quickly.
Instructions
Check if a citation ID exists in the bibliography. Fast boolean check before citing.
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>"
},
"name": "bib:exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The citation ID to check | |
| file | Yes | Absolute path to the CSL-YAML bibliography file (required). Look for "bibliography:" in pandoc.yaml or the YAML frontmatter of .md files. |