Build an evidence packet
build_evidence_packetCollects the evidence relevant to a research question about NYC sidewalk injury, traffic accident, or residential landlord-tenant law as of a date: propositions, the statutes and cases behind them, sources, relationships, conflicts, limitations, and what was left out and why. Deterministic: the same question and dataset give the same packet_id. Every object carries a cite_as block (canonical URL + content hash). Check status first: INSUFFICIENT_EVIDENCE means the dataset does not cover the question.
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": {
"question": "<question>"
},
"name": "build_evidence_packet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Date the law should be applied as of (YYYY-MM-DD). Defaults to today. | |
| topics | No | Optional topic IDs to include in addition to those matched from the question (see /topics) | |
| question | Yes | A research question about the law, not about a particular person's case | |
| jurisdiction | No | Jurisdiction to research. Parent jurisdictions (us-ny, us) are included automatically. | us-ny-nyc |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| as_of | Yes | ||
| cases | Yes | ||
| flags | Yes | ||
| status | Yes | ||
| sources | Yes | ||
| excluded | Yes | ||
| question | Yes | ||
| conflicts | Yes | ||
| packet_id | Yes | ||
| provenance | Yes | ||
| authorities | Yes | ||
| limitations | Yes | ||
| jurisdiction | Yes | ||
| propositions | Yes | ||
| relationships | Yes | ||
| interpretation | Yes |