Random ayah
qul_random_ayahPick a random Quran ayah and return one translation or tafsir, optionally within a chosen surah or selected resource IDs.
Instructions
Pick a random ayah and return one translation or tafsir of it, optionally within one surah.
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": "qul_random_ayah"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | translation | |
| chapter | No | Surah number, 1-114 | |
| language | No | ISO language code, e.g. "en" | en |
| text_format | No | "text" strips HTML and footnote markers (default); "html" returns QUL's markup as-is | text |
| resource_ids | No | Pick only from these translation/tafsir IDs |