search_bills
Search for Washington State legislative bills using keyword queries, with optional filters for biennium and agency.
Instructions
Search for bills using keywords and optional filtering.
This function uses the WSL Search API to find bills matching the provided query with optional filtering by biennium and agency.
Args: query: Search query text (e.g., "climate change", "transportation") bienniums: List of bienniums to search (format: "YYYY-YY") (optional, defaults to current) agency: Filter by originating agency ("House", "Senate", or "Both") (optional, defaults to "Both") max_results: Maximum number of total results to return (max 100)
Returns: Dict containing list of bills matching the search criteria
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| bienniums | No | ||
| agency | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |