search_lords_written_questions
Search House of Lords written questions by date range, member, status, or UIN to retrieve tabled, answered, or withdrawn questions and their details.
Instructions
Search House of Lords written questions | Lords questions, HL questions, peers' questions, tabled, answered, withdrawn | Use for Lords written questions as published in the Lords business system; always give a date range as unfiltered requests are slow | Returns questions with text, dates, status, member and answering body. See also: search_written_questions, get_lords_written_question.
Args:
member_id: Filter by the asking Lord's member id.
uin: Filter by question UIN (e.g. '4578').
status: Tabled, Answered or Withdrawn.
tabled_start_date: Tabled on or after (YYYY-MM-DD).
tabled_end_date: Tabled on or before (YYYY-MM-DD).
order_by: DateTabledAsc or DateTabledDesc.
skip: Number of results to skip.
take: Number of results to return.
Returns:
Paged list of Lords written questions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_lords_written_questions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uin | No | ||
| skip | No | ||
| take | No | ||
| status | No | ||
| order_by | No | ||
| member_id | No | ||
| tabled_end_date | No | ||
| tabled_start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |