Search the library
Searches the text of the library books and returns the pages that contain your phrase.
Technical namesearch_
Searches the books and their footnotes for one or more phrases and returns the best pages, each with a short preview, the book, the author, the volume and the page. You can narrow it to a section, a madhhab, an author, a book or a century. The preview is only for finding the page: quotes come from the page once it is opened.
Parameters9 parameters
You never type these yourself: your assistant fills them in from your request. They are listed here for reference.
| Name | Type | Default | Description |
|---|---|---|---|
phrasesRequired | string[] | - | One or more phrases to look for in the books, up to 8, each up to 300 characters. |
categoryOptional | integer | - | Section number, to search one section only. |
madhhabOptional | "hanafi" | "maliki" | "shafii" | "hanbali" | - | School of fiqh, to search the books of one madhhab only. |
authorOptional | integer | - | Author number, to search their books only. |
bookOptional | integer | - | Book number, to search inside one book. |
centuryOptional | integer 1-15 | - | Hijri century of the author's death, 1 to 15. |
footnotesOptional | boolean | true | Also search the footnotes. On by default. |
cursorOptional | string | - | The next_cursor from the previous result, to continue. |
limitOptional | integer 1-20 | - | Results per call, 1 to 20. Default 10. |
The library
Once connected, your assistant can also search the library books and give the book and page for anything it quotes.