Bibliography (Read Citation Cache)
bibliographyManage a local cache of Australian legal citations. Retrieve, list, export, or view cited-by data for cases and legislation.
Instructions
Read from the local citation cache without network calls. op=get retrieves one citation by cite key, AGLC4 string, neutral citation, or title. op=list (default) lists cached citations, optionally filtered to a document. op=export writes a BibLaTeX .bib file and returns the bib text. op=cited_by returns the locally cached cited-by list for a citation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | get = look up one cached citation; list = list cached citations (default); export = write a BibLaTeX .bib file; cited_by = return the cached cited-by list for a citation | list |
| query | No | Cite key (e.g. 'mabo1992'), AGLC4 citation string, neutral citation, or case title — required for op=get | |
| format | No | json | |
| citeKey | No | Cite key of the case to retrieve cached cited-by data for — required for op=cited_by | |
| document | No | Filter to citations used in this document (op=list/export). Omit for all project citations. | |
| outputPath | No | Write the .bib file to this path (op=export). Relative to the cache dir, or an absolute path that resolves within it; must end in .bib. Defaults to <cacheDir>/<projectName>.bib |