search_fec_campaign_finance
Search US federal campaign finance via the official OpenFEC API: candidates by name, committees and PACs by name, or itemized Schedule A contributions for one committee.
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": {
"mode": "<mode>"
},
"name": "search_fec_campaign_finance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | candidates/committees search by name; contributions pulls itemized donations for one committee | |
| query | No | Name to search for candidates/committees modes (e.g. "Warren") | |
| apiKey | No | Your free api.data.gov key. Falls back to FEC's public DEMO_KEY (rate-limited) if omitted. | |
| maxResults | No | Max rows to return (default 25) | |
| committeeId | No | FEC committee ID (e.g. "C00401224"), required for contributions mode. Find it via committees mode first. |