get_lords_divisions_grouped_by_party
Group House of Lords divisions by party to analyze party-line voting and rebellions. Returns vote counts by party, not individual members.
Instructions
Get House of Lords 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 |