Check citations in a document
validate_documentValidate all legal citations in a document.
Pass in a skeleton argument, witness statement, or any legal document and
this will extract every citation, resolve each against the corpus, and
return a structured validation report. Much more efficient than calling
extract_citations + resolve_citation in a loop.
Args:
text: Document text containing legal citations
target_court: Court the document is addressed to (e.g. "EWCC", "EWHC-Ch") — adds binding/persuasive status per citation
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": {
"text": "<text>"
},
"name": "validate_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| target_court | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |