audit-public-record
OnRecord statutory clock & redaction auditor — Audits an agency's public-records response and leads with a decision (late, redaction problems, incomplete, pending or no violation found). Computes the statutory response deadline and days late (California CPRA, with the court-day calendar and § 7922.535 extension rules), flags redactions without an exemption citation, passages redacted in one document but readable in another, referenced attachme
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>",
"requestDate": "<requestDate>",
"documents": "<documents>"
},
"name": "audit-public-record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOfDate | No | Observation date when responseDate is omitted; defaults to today (UTC). | |
| documents | Yes | ||
| agencyName | No | Agency that received the request; fills the follow-up letter. | |
| requestDate | Yes | Date the agency received the request (YYYY-MM-DD or RFC 3339; read in the offset written). | |
| jurisdiction | Yes | OnRecord jurisdiction code. Only "CA_CPRA" (alias "US-CA") has a statute table; any other value returns clock "unknown_jurisdiction" while document checks still run. | |
| responseDate | No | Date of the agency's determination/response. Omit if none yet. | |
| requesterName | No | Your name, for the follow-up letter signature. | |
| extensionNotices | No | ||
| gapThresholdDays | No | Report gaps between dated events longer than this (default 30). | |
| requestReference | No | The agency's request or tracking number, for the follow-up letter. |