Cite (Cache Citation / Refresh Source)
citeStore and update legal citations locally, generating biblatex cite keys and AGLC4 formatted strings. Refresh cached source files by checking remote freshness.
Instructions
Write to the local citation cache. action=add (default) stores or updates a citation, assigns a biblatex-compatible cite key on first use, and returns the cite key and canonical AGLC4 string. action=refresh_source checks whether the locally cached source file for a citation is still current (conditional HEAD using stored ETag/Last-Modified) and re-downloads it when the remote is newer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | add = store/update a citation in the local cache (default); refresh_source = check the cached source file's freshness via conditional HEAD and re-download when stale | add |
| title | No | Case name, e.g. 'Mabo v Queensland (No 2)' — required for action=add | |
| neutralCitation | No | Neutral citation, e.g. '[1992] HCA 23' | |
| reportedCitation | No | Reported citation, e.g. '(1992) 175 CLR 1' | |
| url | No | Primary source URL (AustLII or jade.io) — required for action=add | |
| type | No | Source type | case |
| jurisdiction | No | ||
| year | No | Decision year | |
| court | No | Court code, e.g. 'HCA' | |
| keywords | No | ||
| summary | No | Brief abstract of the source | |
| document | No | Logical document name this citation belongs to, e.g. 'essay-chapter-3' | |
| footnoteNumber | No | Footnote number where this citation first appears in `document` | |
| pinpoint | No | Pinpoint to include in the AGLC4 full form, e.g. '[20]' or '401 to 407' | |
| style | No | Which citation components to include in aglc4Full | combined |
| citeKey | No | Cite key of a cached citation, e.g. 'mabo1992' — required for action=refresh_source |