Find exact text (literal search)
find_exact_textFind literal occurrences of an exact string in the corpus — article
numbers, regulation ids, precise wording (e.g. "Article 8(3)",
"2024/1781"). Complements semantic search: use this when you need the
exact string, not the concept. Returns one match per (file, page) with an
occurrence count and a text snippet; read the full page with fetch.
Scans the literal chunk text of both indexes the semantic search serves
(the two chunkings differ, so some passages exist in only one); the
synthetic contextual enrichment is NOT scanned — it is not document text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The exact string to find (min 3 characters). | |
| document | No | Optional exact source file name to restrict the search. | |
| max_results | No | Max (file, page) matches to return (1-50, default 20). | |
| case_sensitive | No | Exact-case match (default False). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||