Get tafsir
qul_get_tafsirRetrieve tafsir (Quranic commentary) for a specific ayah or range, or fetch multiple tafsirs for one verse, with numbered parts for complete long commentary.
Instructions
Get tafsir (commentary) for an ayah. Pass resource_id for one tafsir (optionally over a range), or omit it to get several tafsirs for one ayah. Tafsir entries often cover a group of ayahs; see the verses field. Text is always complete: long tafsir comes in numbered parts, and the response's next.call says how to get the next one.
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": {
"from": "<from>"
},
"name": "qul_get_tafsir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last ayah of the range (only with resource_id). Defaults to from. | |
| from | Yes | Ayah key as "chapter:verse", e.g. "2:255" | |
| part | No | Long tafsir is split into parts, never cut. Pass the part number from the previous response's next.call. | |
| limit | No | When not using resource_id: how many different tafsirs to include | |
| language | No | When not using resource_id: limit to one language, e.g. "en" | |
| resource_id | No | One tafsir ID, e.g. 169 (Ibn Kathir, English) | |
| text_format | No | "text" strips HTML and footnote markers (default); "html" returns QUL's markup as-is | text |
| resource_ids | No | When not using resource_id: limit to these IDs |