Search Open Library books by subject
search_by_subjectBrowse works cataloged under an Open Library subject slug (e.g. "computer_science", "economics", "machine_learning") with total work counts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subject": "<subject>"
},
"name": "search_by_subject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum works to return (1-50, default 15). | |
| offset | No | Pagination offset (default 0). | |
| subject | Yes | Subject name or slug (e.g. "computer_science" or "economics"). |