legislator_votes
The roll calls NHLA scored in one session, how a legislator voted on each, and whether that matched NHLA's position. Optionally filtered to one bill.
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": {
"legislator": "<legislator>"
},
"name": "legislator_votes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | No | limit to one bill, e.g. HB609 | |
| year | No | the session; defaults to the most recent one they served | |
| limit | No | how many roll calls to return; default 50, maximum 200 | |
| legislator | Yes | a name, slug, personId or employeeNo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | No | ||
| slug | No | ||
| year | Yes | ||
| found | Yes | ||
| notes | Yes | ||
| tally | Yes | ||
| total | Yes | ||
| votes | Yes | ||
| source | Yes | ||
| chamber | No | ||
| summary | No | ||
| personId | No | ||
| returned | Yes | ||
| truncated | Yes | ||
| candidates | No |