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.
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. |