Open the case viewer
get_case_viewerOpen the interactive case viewer for an authority.
Returns a single payload with judgment paragraphs, cites, cited-by, and
test elements — the same shape as ``GET /authorities/{id}/viewer``.
When ``paragraph_ref`` is set (e.g. "45" from search_extracts), the viewer
scrolls to and highlights that numbered paragraph.
Args:
authority_id: Canonical ID (e.g. "uk.case.uksc.2019.38")
paragraph_ref: Optional numbered paragraph to scroll to (e.g. "45", "para 12")
paragraph_offset: Start of the paragraph page (0-based). The bundled case
viewer's Next/Prev buttons send this; without it declared here, FastMCP
silently drops the argument and every page turn refetches page 1.
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": {
"authority_id": "<authority_id>"
},
"name": "get_case_viewer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| authority_id | Yes | ||
| paragraph_ref | No | ||
| paragraph_offset | No |