get_commons_divisions_search_count
Count House of Commons divisions matching your search criteria before fetching results. Returns the total number of matching votes or divisions.
Instructions
Count House of Commons divisions matching search criteria | number of votes, how many divisions | Use to size a search before fetching results with search_commons_divisions | Returns the total count.
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 |