sync_doj
Update the local Hong Kong DOJ corpus by fetching curated Prosecution Code and domestic-violence policy pages, using conditional requests and checksums to avoid re-downloading unchanged content.
Instructions
Incrementally update the local DOJ corpus.
Fetches the curated Prosecution Code and domestic-violence policy pages
(plus bounded discovery from their index pages), using conditional GETs and
checksums. It is polite and may take 20–60 seconds. The full daily update is
also available as hk-law sync-doj.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sync_doj"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | en | |
| force | No |