List plenary votes
list_votesUse this when the user asks what the European Parliament voted on a sitting day, this week, between two dates or on a subject, e.g. "what did Parliament vote today" or "votes on Ukraine in October". Without arguments it returns the latest sitting day; with only a query it searches the last 92 days. Votes are grouped by agenda item; each item has its deciding (final) vote with result and totals and the ids of its other votes for get_vote. Lists at most 40 items.
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": "list_votes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of a date range, YYYY-MM-DD (with from). | |
| day | No | One sitting day, YYYY-MM-DD. | |
| from | No | Start of a date range, YYYY-MM-DD (with to). | |
| query | No | Keep only agenda items whose topic, title or vote labels contain these words, e.g. "psychosocial". | |
| this_week | No | All votes of the current week. |