Get book cover URL
get_book_coverRetrieve a book cover image URL using an ISBN, OCLC, LCCN, OLID, or Open Library ID, with optional size. Reports when no cover exists instead of returning a blank placeholder URL.
Instructions
Get the URL for a book's cover image using a key (ISBN, OCLC, LCCN, OLID, ID) and value. Reports when no cover exists rather than returning a URL to a blank placeholder.
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": {
"key": "<key>",
"value": "<value>"
},
"name": "get_book_cover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The type of identifier used (ISBN, OCLC, LCCN, OLID, ID). ID is Open Library's internal cover ID. | |
| size | No | The desired size of the cover (S, M, or L). Defaults to L. | L |
| value | Yes | The value of the identifier. |