Get recent votes
get_recent_votesRoll-call votes, newest first, with the question, bill, tally and derived result. Use for "what did Congress vote on this week" or to find a roll call before calling get_roll_call, which adds the party split and how each member voted. Filter by chamber, date range, bill, or words in the question, description or bill title (query "nomination", "appropriations"). A bill number in query ("H.R. 1") is treated as that bill.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_recent_votes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | No | Only roll calls on this bill: 119-hr-1 or "H.R. 1" | |
| limit | No | Default 20 | |
| query | No | Words that must all appear in the question, description or bill title, and/or a bill number | |
| since | No | YYYY-MM-DD, inclusive | |
| until | No | YYYY-MM-DD, inclusive | |
| chamber | No | Chamber, lowercase: "house" or "senate" |