search_tafsir
Search Quran commentary using lexical matching. Returns matching Tafsir text with source attribution, availability and reference URLs. English fallback requires explicit permission and is identified in the response.
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": {
"query": "<query>"
},
"name": "search_tafsir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | Search text or Quran reference. | |
| surah | No | Optional restriction to one Surah. | |
| offset | No | ||
| language | No | Requested Quran.is language option. | english |
| match_mode | No | Lexical phrase or substring keyword matching. | phrase |
| allow_english_fallback | No | Allow English Al-Mukhtasar when native Tafsir is unavailable. |