fec_top_candidates
Retrieve top political candidates ranked by total money raised for a specified office and election cycle. Input office and year to get sorted fundraising leaders.
Instructions
Get top candidates ranked by total money raised for a given office and election cycle.
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": {
"office": "<office>",
"election_year": "<election_year>"
},
"name": "fec_top_candidates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Two-letter state code to filter by | |
| office | Yes | Office: H=House, S=Senate, P=President | |
| per_page | No | Number of results (default: 20) | |
| election_year | Yes | Election year, e.g. 2024 |