verify_corpus_manifest_onchain
Cross-checks the legal-worker corpus output against the on-chain legal_source_manifest PDA for a given jurisdiction. Detects tampering / drift between the off-chain corpus and the on-chain hash anchor. Returns verdict in {in-sync, drift, not-anchored, no-corpus}. Closes the chain-of-custody loop for resolve_legal_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": {
"jurisdiction": "<jurisdiction>"
},
"name": "verify_corpus_manifest_onchain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jurisdiction | Yes | Worker jurisdiction code (LGPD, GDPR, MICAR, POPIA, DPDP, APPI, PIPA, PDP-ID, Malaysia-PDPA, Vietnam-Decree-13, PDPA-SG, PIPEDA, CCPA, LFPDPPP, PDPL-UAE, BriberyAct-UK). Internally maps to ≤16-byte on-chain ASCII code when needed. |