List the works in the library
list_worksList the works with their sizes, shelf, author and available languages. Call it at the start of a conversation about scripture, or when you need work slugs for filtering. The list is short by default: no descriptions.
Narrow it with category (a shelf: itihasa, purana, upanishad, vedanta, samhita, shastra, kavya, shruti, smriti; shruti is the upanishad shelf, smriti the itihasa and purana shelves) or with author (an id from list_authors). Set include_descriptions for a paragraph on each work.
It also tells you what is not translated: several works exist only in Russian. Check languages before promising the user an English text.
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": "list_works"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| author | No | Only the works credited to this author id (see list_authors). | |
| category | No | Only the works on this shelf. | |
| language | No | Preferred language of the translations returned. Not a filter: works that exist only in Russian are returned in Russian, and each result says which language it is actually in. Default: en. | |
| include_descriptions | No | Add a paragraph describing each work. Default false. |