List Elections
list_electionsList the state/year/office combinations this pack actually holds data for, and at which levels (state/county/precinct). Pass state to scope the listing to one state; omit it to see full coverage. Use this before election_results or election_race_summary to check whether a given state/year/office exists before querying it, or to discover what is covered.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"state": "PA"
},
"name": "list_elections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | US state, postal code ("PA") or full name ("Pennsylvania"), to scope the listing. Optional. |