Show a photo book and its price
get_bookUse this to show a book that was already made, or to get its price for one copy including shipping when country is supplied. Needs the book's private bookToken. Photos, cover, title, layout and materials are changed in the foto foto editor.
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": {
"bookId": "<bookId>",
"bookToken": "<bookToken>"
},
"name": "get_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bookId | Yes | ||
| country | No | ||
| language | No | Two-letter code of the language the person writes in, such as nl or en. | |
| bookToken | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | One copy including shipping, when country was given and the book can be ordered. | |
| title | No | ||
| bookId | No | ||
| claimed | No | ||
| editUrl | No | ||
| message | No | ||
| claimUrl | No | Private link where the person saves the book with their email, then edits and orders it. | |
| language | No | The chat's language, as passed in. | |
| materials | No | Binding, cover and paper the book is priced with, e.g. "Layflat binding · Linen cover · Fine art paper"; null without a country. | |
| orderable | No | Whether the book can be printed as it is. | |
| productId | No | ||
| photoCount | No | ||
| unavailableReason | No | Why it cannot be printed yet, such as too few pages. |