get_lords_divisions_search_count
Count House of Lords divisions matching topic, member, date, or division number criteria. Use the total count to size a search before fetching detailed results.
Instructions
Count House of Lords divisions matching search criteria | number of votes, how many divisions | Use to size a search before fetching results with search_lords_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 |