get_commons_divisions_grouped_by_party
Retrieve UK House of Commons division results grouped by party to analyze party voting patterns, unity, and rebellions. Filter by topic, date, member, or division number.
Instructions
Get House of Commons divisions grouped by party | party-line voting, how parties voted, rebellions | Use when analyzing how different parties voted on issues | Returns vote counts by party rather than individual members.
Args:
search_term: Optional: search term for division topics (e.g. 'brexit', 'climate', 'NHS').
member_id: Optional: only divisions this member voted in.
start_date: Optional: start date in YYYY-MM-DD format.
end_date: Optional: end date in YYYY-MM-DD format.
division_number: Optional: specific division number.
include_when_member_was_teller: Optional: include divisions where the member was a teller.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| member_id | No | ||
| start_date | No | ||
| search_term | No | ||
| division_number | No | ||
| include_when_member_was_teller | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |