legiscan_find_legislator
Search for a legislator's unique ID by providing their name and state. Supports partial name matching to help identify the correct legislator before making further queries.
Instructions
Find a legislator's people_id by searching their name. Useful as a first step before other queries. Supports partial name matching.
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": {
"name": "<name>",
"state": "<state>"
},
"name": "legiscan_find_legislator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full or partial name to search (e.g., 'Smith', 'Jane Smith') | |
| state | Yes | Two-letter state abbreviation (e.g., 'CA') | |
| session_id | No | Optional specific session_id (default: current session) |