Search concordance (phrase)
concord_phraseComplete-or-fail multi-word concordance: every occurrence, within one verse, of tokens (lemma strings) appearing in order within window intervening words of each other (window=0 = strictly adjacent). This is the tool for a phrase query like εἰς ἄφεσιν. This deployment caps one concordance result at 2000 occurrences and refuses anything broader, reporting the exact match count in the error. Call count first when a query might be broad - count is never capped.
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": {
"tokens": "<tokens>",
"corpus": "<corpus>",
"window": "<window>"
},
"name": "concord_phrase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| corpus | Yes | word-tagged corpus to search: TAGNT, TAHOT, Swete, OSS-LXX-lemma | |
| tokens | Yes | ordered lemma strings to find co-occurring within one verse, e.g. ["εἰς","ἄφεσις"] | |
| window | Yes | max words allowed between consecutive tokens; 0 = strictly adjacent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | Yes | ||
| sources | No | ||
| citations | Yes |