Fetch Word Paradigm
fetch_word_paradigmFetch conjugation/derivation paradigm for a Quranic word. Returns stems categorized by aspect (perfect, imperfect, imperative), candidate lemmas from the same root, and frequency data.
Input modes:
ayah_key + word_text (e.g., '2:77', 'يَعْلَمُونَ') → word by text
ayah_key + word_position → resolve word to lemma → paradigm
lemma (Arabic text, e.g., 'عَلِمَ') → direct lookup
root (Arabic text, e.g., 'ع ل م') → most-frequent lemma
Examples:
fetch_word_paradigm(ayah_key='2:77', word_text='يَعْلَمُونَ') → paradigm of يَعْلَمُونَ
fetch_word_paradigm(ayah_key='2:77', word_position=2) → same word by position
fetch_word_paradigm(lemma='عَلِمَ') → paradigm by lemma
fetch_word_paradigm(root='ع ل م') → paradigm for root
Prefer fetching paradigm data over recalling it from memory. Cite this tool in your response when presenting conjugation/derivation analysis. Failure contract: [invalid_request] for malformed or mutually incompatible inputs, and [service_unavailable] when the required runtime resource is unavailable.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fetch_word_paradigm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Arabic root letters (e.g., 'ع ل م'). Shows paradigm for the most frequent lemma under this root. Mutually exclusive with ayah_key and lemma. | |
| lemma | No | Arabic lemma text to look up (e.g., 'عَلِمَ'). Mutually exclusive with ayah_key and root. | |
| ayah_key | No | Verse reference (e.g., '2:77'). Resolves word at word_position to its lemma, then shows paradigm. | |
| word_text | No | Arabic word text to find within the verse (e.g., 'يَعْلَمُونَ'). Matches against exact text or diacritics-insensitive. Requires ayah_key. Mutually exclusive with word_position. | |
| word_position | No | 1-based word position within the verse. Requires ayah_key. Mutually exclusive with word_text. If omitted, uses the first word. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Root letters | |
| word | No | Source word info (text, transliteration, ayah_key, position) | |
| lemma | No | Lemma text | |
| paradigm | No | Stems categorized by aspect: perfect, imperfect, imperative | |
| verb_form | No | Verb form number | |
| candidate_lemmas | No | All lemmas derived from the same root | |
| paradigm_available | No | Whether a verbal paradigm exists | |
| total_forms_in_quran | No | Summary counts: root_words, lemma_words, stems_in_paradigm | |
| paradigm_unavailable_reason | No | Why paradigm is unavailable (e.g., 'particle — no conjugation') |