find_in_bill
Search a bill’s text by term or regex and return matching snippets with section IDs to locate relevant passages; loads the bill automatically when needed.
Instructions
Search inside a bill's text and return only matching snippets with their section ids (loads the bill if needed). Use read_bill_text(section=..., offset=...) to read around a hit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bill": "<bill>",
"pattern": "<pattern>"
},
"name": "find_in_bill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | Yes | Bill number, e.g. 'HB 1', 'SB42', 'HJR 3'. | |
| regex | No | Treat pattern as a regular expression. | |
| pattern | Yes | Text to find (case-insensitive). | |
| session | No | Session, e.g. '2026', '2026GS', '2025S1'. Omit for the current general session. | |
| max_hits | No | ||
| max_chars | No | Character budget for this response (500-20000). Defaults to the server setting. | |
| context_chars | No |