get_bill
Fetch a specific NYC Council bill by introductory or file number from the live Legistar API. Use type-prefixed numbers to avoid ambiguous bare-number errors.
Instructions
Get a specific bill by its intro/file number from the live Legistar API. Legistar file numbers are type-prefixed (e.g. 'Int 0349-2024', 'Res 0232-2024'). A type-prefixed number returns that one matter. A bare 'NNNN-YYYY' number is AMBIGUOUS — the same number can be both an Introduction and a Resolution; if it matches more than one matter the call is REJECTED with an error naming every match, and you re-call with the exact type-prefixed file number. A single match returns the authoritative record.
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": {
"file_number": "<file_number>"
},
"name": "get_bill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_number | Yes | Bill file number, e.g. 'Int 0349-2024' or '0349-2024' |