eokg_search_smells
eokg_search_smellsSearch historical smell references full-text across European texts and source titles, ranked by relevance. Filter by language, year or corpus, then retrieve full smell records.
Instructions
Full-text search of smell excerpts and source titles, ranked by relevance. Matching is on the extracted excerpt text (OCR, unnormalised spelling). Language, year and dataset filters are applied after ranking, to a window of the most relevant hits, so a filtered search reports how many hits it scanned and may miss rarer matches; the result says when. Year filters use the document date; undated sources are kept. One passage can contain several smells; each is its own result with its own id and concept, so the same excerpt can appear more than once. Follow up with eokg_get_smell for a full record.
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": {
"text": "<text>"
},
"name": "eokg_search_smells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in | No | Search the smell excerpts (default), the source titles, or both. | excerpt |
| text | Yes | Lucene query text without field prefixes. Words without an operator are OR-ed: write AND/OR/NOT in capitals, and quote phrases and hyphenated words ("eau de cologne"). Trailing * and ? wildcards and ~ fuzzy matching work. Accents and umlauts must match exactly (égouts ≠ egouts); search both forms when unsure. Search in the language of the texts you want. | |
| limit | No | Results per page. | |
| offset | No | Results to skip. To continue, pass the previous page's next_offset: a page cut to fit the output budget holds fewer than limit results. | |
| dataset | No | Only smells from this source corpus (see eokg_list_datasets). | |
| year_to | No | Latest document date, inclusive. A date range such as 1616/1678 counts by its first year. Undated sources are kept. | |
| language | No | Only smells from sources in this language. | |
| year_from | No | Earliest document date, inclusive. A date range such as 1616/1678 counts by its first year. Undated sources are kept. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | ||
| query | Yes | ||
| offset | Yes | ||
| results | Yes | ||
| scanned | No | ||
| filtered | Yes | ||
| has_more | Yes | ||
| warnings | No | ||
| truncated | No | ||
| exhaustive | No | ||
| total_hits | Yes | ||
| next_offset | No |