islamhouse_library
Search and retrieve Islamic books, audios, videos, fatwas, articles, and author metadata from IslamHouse Library for scholarly research and content discovery.
Instructions
Access IslamHouse Library for books, audios, videos, fatwas, articles, and author metadata. Excludes Quran recitations (use 'islamhouse_quran') and Hadith texts (use 'hadeethenc_services').
Behavior: Read-only, idempotent, public access (no auth/rate limits). Cached dynamically with real-time freshness. Fallback to English on missing translations; returns empty arrays for unknown IDs; returns 400 error payload on invalid actions or malformed parameters.
Usage Guidelines:
Use for: Scholarly books, articles, fatwas, multimedia, and author biographies.
Do NOT use for: Raw Quran text/audio ('islamhouse_quran' / 'quran_services') or Hadith collections ('hadeethenc_services').
Parameters & Enums:
action: API operation (see Action Groups below).type: Content format enum:books,audios,videos,fatwas,articles.period: Trending window enum:daily,weekly,monthly.sort: Ordering enum:popular,newest,oldest.kind: Scope filter enum:main,sub.language,siteLang,contentLang,slang,locale: 2-letter ISO-639-1 codes (e.g., 'en', 'ar').page,limit: Integer pagination controls.id,categoryId,authorId: Positive integer identifiers.
Action Groups & Returns:
Taxonomy (
list_categories,list_types,get_categories_tree): Requireslanguage-> Array of{ id: number, name: string, parentId?: number }.Listings (
list_items,get_latest_items,get_highlighted_items): Usespage,limit,type, [categoryId/authorId/period/sort/contentLang] ->{ data: ItemSummary[], total: number, page: number }.Aggregations (
get_items_count): Usestype, [categoryId/contentLang] ->{ type: string, total: number }.Details (
get_item_details,get_item_attachments,get_item_translations): Requiresid, [language] -> Detailed{ id, title, description, attachments: Attachment[], locales: string[] }.Authors (
list_authors,get_author_details): Usespage,limitorid, [language] -> Author profile with{ id, name, biography, itemsCount: number }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| kind | No | ||
| page | No | ||
| sort | No | ||
| type | No | ||
| limit | No | ||
| slang | No | ||
| action | Yes | Required. Action to perform, e.g. 'get_types', 'get_categories', 'get_categories_tree', 'get_child_categories', 'get_category_basic', 'get_sub_categories', 'get_category_types', 'get_category_languages', 'list_items', 'get_author_items', 'get_category_items', 'get_latest_items', 'get_highlighted_items', 'get_items_count', 'get_item_details', 'get_item_attachments', 'get_item_tree', 'get_item_card_translations', 'get_item_translations', 'list_authors', 'get_author_details', 'get_author_card_translations', 'get_author_available_types', 'get_author_available_locales', 'list_languages', 'get_language_terms', 'get_language_availability' | |
| locale | No | ||
| period | No | ||
| authorId | No | ||
| language | No | ||
| siteLang | No | ||
| categoryId | No | ||
| contentLang | No |