Format AGLC4 Citation
format_citationFormat Australian case citations per AGLC4: full, short, ibid, subsequent, and pinpoint references by fetching judgments from AustLII.
Instructions
Format an Australian case citation per AGLC4 rules. mode=full combines case name, neutral citation, reported citation, and optional pinpoint. mode=short/ibid/subsequent produce AGLC4 short-form, Ibid, and subsequent references (subsequent requires footnoteRef). mode=pinpoint fetches a judgment from AustLII and generates a pinpoint citation to a specific paragraph (by number or phrase).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | full = AGLC4 full citation (default); short = short form; ibid = Ibid (back-to-back same source); subsequent = title (n X); pinpoint = fetch a judgment and generate a paragraph pinpoint | full |
| title | No | Case name, e.g. 'Mabo v Queensland (No 2)' (full mode) or the abbreviated case name chosen at first reference, e.g. 'Mabo' (short/ibid/subsequent). Required for all modes except pinpoint. | |
| neutralCitation | No | Neutral citation, e.g. '[1992] HCA 23' (full mode) | |
| reportedCitation | No | Reported citation, e.g. '(1992) 175 CLR 1' (full mode) | |
| pinpoint | No | Pinpoint reference, e.g. '[20]' (full mode) | |
| style | No | Citation style for full mode: neutral (neutral only), reported (reported only), combined (both) | combined |
| footnoteRef | No | Footnote number of first citation — required for subsequent mode | |
| pinpointPara | No | Paragraph pinpoint number for short-form modes, e.g. 20 → [20] | |
| pinpointPage | No | Page pinpoint number for short-form modes, e.g. 401 | |
| url | No | AustLII document URL to fetch and search — required for pinpoint mode | |
| paragraphNumber | No | Paragraph number to locate (pinpoint mode) | |
| phrase | No | Phrase to search for within paragraphs (pinpoint mode) | |
| caseCitation | No | Case citation to prepend to the pinpoint, e.g. '[2022] FedCFamC2F 786' (pinpoint mode) |