Read an excerpt
get_excerptA real excerpt of a bilingual edition, as text: each segment in the language being learned, with its translation in the reader's language. Use it to show the user what the book and the line-by-line method look like before buying. Only some titles have an excerpt; the answer says so when one is missing.
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>",
"reader_language": "<reader_language>"
},
"name": "get_excerpt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_uid | Yes | Identifier returned by search_books. | |
| max_segments | No | How many aligned segments to return. Defaults to 40. | |
| reader_language | Yes | The language the reader already KNOWS (the translation side). | |
| learning_language | Yes | The language the reader is LEARNING (the original side of the excerpt). |