search_treaties_advanced
Search UK Parliament treaties by department, series, scrutiny status, debate, motions, or committee concerns, and return matching treaties with their scrutiny status.
Instructions
Advanced treaty search with full filtering | treaties, controversial treaties, committee concerns, scrutiny status | Use to find treaties by department, scrutiny status, or with parliamentary concerns | Returns treaties matching all specified filters
Args:
search_text: Optional: search term for treaty titles/content.
government_organisation_id: Optional: filter by laying department ID (get IDs from get_treaty_government_organisations).
series: Optional: treaty series type - 'CountrySeriesMembership', 'EuropeanUnionSeriesMembership', or 'MiscellaneousSeriesMembership'.
parliamentary_process: Optional: 'NotConcluded' or 'Concluded'.
debate_scheduled: Optional: filter to treaties where debate has been scheduled.
motions_tabled: Optional: filter to treaties where motions have been tabled.
committee_raised_concerns: Optional: filter to treaties where a committee has raised concerns.
house: Optional: 'Commons' or 'Lords' (1 or 2 also accepted).
skip: Number of records to skip (for pagination).
take: Number of records to return (default 20).
Returns:
Treaties matching the specified filters with scrutiny status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | ||
| take | No | ||
| house | No | ||
| series | No | ||
| search_text | No | ||
| motions_tabled | No | ||
| debate_scheduled | No | ||
| parliamentary_process | No | ||
| committee_raised_concerns | No | ||
| government_organisation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |