Format OSCOLA Citation String
citations_format_oscolaUSE THIS TOOL AFTER citations_resolve to produce the correctly formatted OSCOLA citation string.
Pass the fields citations_resolve returned. Formats per OSCOLA 4th edition. This tool re-checks existence itself — neutral citations against TNA, SIs against legislation.gov.uk — and does not take the caller's word. Raises not_found if the source confirms the document does not exist, validation for incomplete fields or an ambiguous court (e.g. bare EWHC), transient if the check could not run (NOT evidence of absence).
Returns the OSCOLA string with verified=true only when the document was confirmed; Act sections, law reports and retained EU law are formatted with verified=false — present them as unverified.
AFTER a refusal, do NOT manufacture a citation; ask the user for the source URL or better identifying details. Never construct the input fields yourself — guessed fields are the main fabrication route.
Authoritative OSCOLA formatting for UK legal citations.
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": {
"citation_type": "<citation_type>"
},
"name": "citations_format_oscola"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | 'raw' from citations_resolve. Used as-is for EU retained law — the original text preserves the Regulation/Directive distinction. | |
| page | No | 'page' from citations_resolve (starting page in the law report). | |
| year | No | 'year' from citations_resolve. | |
| court | No | 'court' from citations_resolve, e.g. 'UKSC', 'EWCA CIV', 'EWHC (KB)'. | |
| number | No | 'number' from citations_resolve (judgment number within the year). | |
| volume | No | 'volume' from citations_resolve (law report volume, if any). | |
| section | No | 'section' from citations_resolve, e.g. '47', '12', '20A'. | |
| si_year | No | 'si_year' from citations_resolve. | |
| si_number | No | 'si_number' from citations_resolve. | |
| confidence | No | Ignored; accepted for compatibility with older callers. This tool verifies the citation against the source itself and does not trust a caller-reported confidence. | |
| resolved_url | No | Ignored; accepted for compatibility. The URL is rebuilt from the citation fields and returned. | |
| citation_type | Yes | 'type' field from citations_resolve result. | |
| report_series | No | 'report_series' from citations_resolve, e.g. 'WLR', 'AC', 'QB'. | |
| legislation_title | No | 'legislation_title' from citations_resolve, e.g. 'Companies Act 2006'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||