Szukaj w artykule lub książce
find_in_articleSearch a single article or library book for every occurrence of a word or phrase and return verbatim passages with context; useful for long texts, with case- and diacritic-insensitive matching.
Instructions
Finds all places in ONE article or library book where the given words occur and returns verbatim passages with context. Useful for long texts. Matching ignores case and Polish diacritics.
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": {
"id": "<id>",
"phrase": "<phrase>"
},
"name": "find_in_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | id albo tytuł artykułu (albo id książki z biblioteki) | |
| limit | No | ||
| phrase | Yes | Słowo lub fraza (wyszukiwane jako ciąg znaków, także fragment słowa) | |
| context | No | Ile znaków kontekstu z każdej strony |