statute_history
Retrieve a Hong Kong criminal-law provision's text in force on a specified YYYY-MM-DD date, with a warning if historical archives are unavailable and current text is returned.
Instructions
Return the provision text in force on a date (YYYY-MM-DD).
Uses the official DATA.GOV.HK Past Version archives if ingested. If the
historical corpus is unavailable, returns the current text with
historical: false and an explicit warning.
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": {
"cap": "<cap>",
"section": "<section>"
},
"name": "statute_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | Yes | ||
| lang | No | en | |
| as_of | No | ||
| section | Yes | ||
| max_chars | No |