Tower of Babel
v1.1.0Search and read 2.5M+ public-domain full texts from the Tower of Babel library.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_works Search works
Search the Tower of Babel public-domain library by title or creator. Results are in catalog order, not relevance-ranked; follow next_cursor until it is null to cover more of the catalog. Read-only.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search text, matched as words against title and/or creator. |
cursor | string | Opaque continuation cursor from a previous call. |
field | string | Which field the search text is matched against: title only, author (creator) only, or any (both). Defaults to any. |
limit | integer | Maximum number of works to return in this page (1-50). Defaults to 20. |
get_work Get work
Get one work's metadata by its id (artifact id, e.g. us-declaration-of-independence). Read-only.
| Parameter | Type | Description |
|---|---|---|
id * | string | The work's artifact id. |
list_collection List collection
List works in one collection (PAPERS, DECLASSIFIED, BOOKS, REFERENCE, DOCUMENTS, PODCASTS) in catalog order. Follow next_cursor until null. Read-only.
| Parameter | Type | Description |
|---|---|---|
collection * | string | The collection to list: PAPERS, DECLASSIFIED, LAW, BOOKS, REFERENCE, DOCUMENTS, or PODCASTS. |
cursor | string | Opaque continuation cursor from a previous call. |
limit | integer | Maximum number of works to return in this page (1-50). Defaults to 20. |
list_group List group
List works in a precomputed group: a sacred tradition, a declassified programme, a top author, or a course group. Use the collections endpoint (or the library's group lists) for valid keys. Read-only.
| Parameter | Type | Description |
|---|---|---|
group * | string | The kind of group to list: traditions (sacred traditions), programmes (declassified programmes), authors (top authors), or course (course groups). |
key * | string | Tradition/programme key, author slug, or course-group slug. |
limit | integer | Maximum number of works to return in this page (1-50). Defaults to 20. |
offset | integer | Number of works to skip before returning results, for paging through a group. Defaults to 0. |