search_written_questions
Search UK parliamentary written questions by keyword, MP, department, date, house, or answer status to track government responses and research accountability.
Instructions
Search written parliamentary questions with comprehensive filtering | written questions, PQs, parliamentary questions, questions to ministers, government accountability | Use for researching MP activity, tracking government responses, analyzing ministerial accountability, or finding questions on specific topics | Returns questions with asking member, answering body, dates, and response status See also: get_written_question, search_written_statements, get_answering_bodies.
Args:
search_term: Text to search for in question content.
asking_member_id: Filter by the member ID who asked the question.
answering_body_id: Filter by the government department that answered.
answered: Filter by answer status: "Any", "Answered", or "Unanswered".
tabled_from: Start date for when question was tabled (YYYY-MM-DD).
tabled_to: End date for when question was tabled (YYYY-MM-DD).
house: Filter by house: 'Commons', 'Lords' or 'Bicameral' (1 or 2 also accepted).
skip: Number of records to skip for pagination. Default: 0.
take: Number of records to return. Default: 20.
Returns:
Written questions matching the search criteria with member, department, and answer details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | ||
| take | No | ||
| house | No | ||
| answered | No | ||
| tabled_to | No | ||
| search_term | No | ||
| tabled_from | No | ||
| asking_member_id | No | ||
| answering_body_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |