list_translations
Retrieve available Quran translations to access different interpretations of Islamic scripture for study and understanding.
Instructions
List all available Quran translations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/quran.ts:198-207 (handler)The core handler function that executes the list_translations tool by mapping and returning available translations from the TRANSLATIONS constant./** * List available translations */ export function listTranslations() { return TRANSLATIONS.map(t => ({ slug: t.slug, name: t.name, language: t.language, })); }
- Defines the tool schema for list_translations, specifying no input parameters are required.{ name: 'list_translations', description: 'List all available Quran translations.', inputSchema: { type: 'object', properties: {}, }, },
- src/shared/tool-executor.ts:108-110 (registration)Registers the list_translations tool in the executor switch case, invoking the handler function.case 'list_translations': { result = listTranslations(); break;