legislator_record
One legislator's Liberty Rating in every session they served, found by name, slug, personId or employeeNo. Joins the two employee numbers a member holds if they moved between the House and the Senate.
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_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toYear | No | latest session to report | |
| fromYear | No | earliest session to report | |
| legislator | Yes | a name, slug, personId or employeeNo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | No | ||
| slug | No | ||
| found | Yes | ||
| notes | Yes | ||
| terms | No | ||
| source | Yes | ||
| summary | No | ||
| chambers | No | ||
| personId | No | ||
| candidates | No | ||
| employeeNos | No | ||
| sessionsHeld | Yes |