Search documents
search_documentsSearch adopted plan and budget documents, returning page-cited excerpts.
Each hit's `text` is a short passage around the match, not the full page —
call read_document_pages with the hit's `first_page` to read it in context.
Every hit carries `first_page`/`last_page` and `source_url`. Quote those
when citing: the page number is what makes the claim checkable against the
city's own copy.
This is word matching, not semantic search — try the terms a plan would
actually use. Only currently-served documents are searchable, so an empty
result is not evidence the government has no such policy; check
list_government_documents for what is held and what could not be read.
A hit with `document_complete: false` comes from a document with
transcription findings. Verify it against `source_url` before quoting a
number from it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum excerpts to return. | |
| query | Yes | Words to find in plan and budget text, e.g. 'accessory dwelling unit parking'. | |
| government_id | No | Optional account_id to restrict the search to one government. |