Create a First Words Book
create_pattern_bookCreate a First Words Book: a repeating-pattern picture book for the youngest readers (about 0-5), the kind that names one thing a page in one repeated sentence, like an animal and the sound it makes, or a question each page answers and passes on. Every page sets its words big and centred at the same place along the top, with a wide picture under them of the subject standing on the same ground, which runs across the full width of the page, so only the subject changes as the pages turn. Give a topic (theme) and the AI writes an original pattern and every page's words; or pass the customer's own lines (patternLines) and they are printed exactly as written, one page for each block between blank lines, or for each line when there are none. Drawn by default in a bright, cute painted-paper picture-book style on white paper; a style picture the customer uploaded (pageTemplateImage) or their style words (style) replace that style completely, background included, and the picture is never printed. Square 8.5x8.5 by default (any supported trim can be chosen), with bleed by default, for KDP. 2 credits a page (2.5 credits at the higher-quality tier) — a written book is 12, 16, 20, 24, 32 pages. Before ordering, ask the customer the topic or their lines, the child's age (ageGroup), the length, and whether they have a style picture or style in mind. The order runs straight through to a PDF.
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": {
"ageGroup": "<ageGroup>"
},
"name": "create_pattern_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bleed | No | The ground in every picture runs past the cut line, as KDP expects of a picture book. Defaults to true; false for home printing. | |
| style | No | Optional. How the pictures should look, in the customer's words (for example soft watercolour, or crayon on brown paper). Replaces the default style. | |
| theme | No | What the book is about, in the customer's words, for example farm animals and their sounds, colours, or counting to ten. Leave out when patternLines carries the customer's own words. | |
| title | No | Book title. Generated from the content when omitted. | |
| ageGroup | Yes | Target age band, read by its youngest reader. Required, because it is not guessable and it changes the drawing: the four bands the page rules are written for are 3-6, 6-9, 9-13 and 13+, and line weight, how much background a page carries and how small the colourable areas get all step with them. Ask who the book is for rather than assuming the youngest band. | |
| pageSize | No | Trim size. Defaults to 8.5x8.5, the square board-book shape; the supported sizes are returned by list_book_types. | |
| description | No | Optional instructions in the customer's words: things to include, the language to write in, how the pictures should look. They come first over the AI's own choices. | |
| highQuality | No | Render pages at the higher-quality tier, as the website's page quality choice does: 2.5 credits a page for a coloring book, story coloring, educational coloring and illustrated story books, and 2 a page on an activity book's coloring pages. Defaults to false. | |
| patternLines | No | Optional. The customer's own words, printed exactly as written. Separate pages with a blank line (a page may then have several lines), or put each page on its own line. | |
| numberOfPages | No | How many pages the AI writes. Leave out with patternLines: the customer's lines decide the pages. | |
| patternLayout | No | sentence (the default) = the First Words Book: one thing a page in one repeated sentence. picture_words = the Point & Say Book: a theme a page ("In the kitchen") and four cute pictures, each with its name under it, for a parent to point at and name; made from a topic only, so leave patternLines out. | |
| pageTemplateImage | No | Optional. A picture whose art style the customer wants (upload_image first and send its s3Key): every page is drawn in its style, replacing the default style. What it shows is never copied, and it is never printed. Pass exactly one of s3Key (returned by upload_image, or a picture uploaded on the website) or data (the PNG or JPEG itself, base64, at most 4 MB). | |
| standardQualityConfirmed | No | Only with highQuality false: true once you have told the customer the Premium suggestion for books meant for sale and they chose to keep Standard ("Print home quality"). A Standard order without it is answered with that suggestion and not created. |