add_entry
Add a BibTeX entry directly to the library open in JabRef. Uses JabRef's official import API for duplicate detection and leaves the .bib file untouched.
Instructions
Add a new entry to the JabRef library - the ONLY supported way of adding entries.
This imports the BibTeX through JabRef's official CLI API (jabref --importBibtex), which means:
the entry is added to the library that is OPEN in JabRef, with JabRef's own duplicate detection;
the .bib file is never modified by this server. Requires JabRef to be running with 'Listen to remote operation on port' enabled (Preferences -> Network), same as for the official browser extension.
Args: bibtex: a complete BibTeX entry, e.g. '@article{key, title={...}, author={...}, year={2024}}'. timeout: optional override of the import timeout in seconds.
Returns the canonical BibTeX that was sent to JabRef.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bibtex | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |