Search Hansard Debates
parliament_search_hansardSearch UK parliamentary debates and speeches in Hansard. Retrieve contributions from MPs and Lords with date, party, and text to understand legislative intent and political context.
Instructions
Search Hansard for parliamentary debates, questions, and speeches.
Returns contributions from MPs and Lords including date, party, debate title, and text (capped at 3000 chars per contribution). Useful for understanding legislative intent or political context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | HansardSearchInput with query, optional date range, optional member filter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The phrase that was searched in Hansard | |
| from_date | No | Start date filter applied, if any | |
| to_date | No | End date filter applied, if any | |
| member | No | Member name filter applied, if any | |
| offset | No | Skip applied to this page (Hansard API: skip) | |
| limit | No | Page size requested | |
| total | Yes | Number of contributions returned in this call | |
| has_more | No | True if a full page was returned (more may exist; re-call with offset=offset+limit) | |
| contributions | No | Matching Hansard contributions. Each `text` field is capped at 3000 characters. |