List the buyable editions
list_editionsThe editions of one book that can actually be produced for a given language pair, with their euro prices and their item_id. Call this before create_checkout_link: it is what rules out the combinations that do not exist — a trilingual edition needs three different languages (it reads in triple column and paragraph by paragraph in every script, line by line only in Latin, Cyrillic or Greek), and a paperback is limited by printable thickness. A monolingual edition contains only the learning_language text, with no translation (see text_languages).
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": {
"book_uid": "<book_uid>",
"learning_language": "<learning_language>",
"known_language": "<known_language>"
},
"name": "list_editions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_uid | Yes | Identifier returned by search_books. | |
| language | No | Language the title and author are returned in. Defaults to English. The product_url opens in this language when given, otherwise in the reader's (known_language). | |
| buyer_country | No | The buyer's country as an ISO 3166-1 alpha-2 code, e.g. US, GB, JP. Pass it when known: ebook and paperback prices then include that country's tax and any current discount. Pass the same buyer_country to both calls. In India the paperback price includes delivery. | |
| known_language | Yes | Code of the language the reader ALREADY knows — the language of the translation. Must differ from learning_language. | |
| third_language | No | Optional third language, to see whether a trilingual edition exists. | |
| learning_language | Yes | Code of the language the reader wants to LEARN — the main text. |