list_tafsir_sources
Discover available Tafsir commentary sources with their languages and authors to access scholarly interpretations of Quranic texts.
Instructions
List all available Tafsir (commentary) sources with their languages and authors.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/tafsir.ts:82-89 (handler)The core handler function that executes the tool logic by returning a mapped list of available Tafsir sources from the TAFSIR_SOURCES constant.export function listTafsirSources() { return TAFSIR_SOURCES.map(source => ({ slug: source.slug, name: source.name, language: source.language, author: source.author, })); }
- The tool definition in the tools array, including name, description, and empty input schema (no parameters required).{ name: 'list_tafsir_sources', description: 'List all available Tafsir (commentary) sources with their languages and authors.', inputSchema: { type: 'object', properties: {}, }, },
- src/shared/tool-executor.ts:98-101 (registration)The switch case registration in the executeTool function that calls the listTafsirSources handler when the tool is invoked.case 'list_tafsir_sources': { result = listTafsirSources(); break; }