Generate a multi-page activity book
create_activity_bookGenerates a cohesive 2-12 page paint-by-number activity book from a list of prompts. Validates total credits upfront, queues every page (auto-refunding any failed page), and compiles a print-ready PDF automatically when you poll get_activity_book.
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_title": "<book_title>",
"prompts": "<prompts>"
},
"name": "create_activity_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | How many regions to paint. Default medium. 'detailed' costs 1 more credit. | |
| preset | No | Accessibility complexity preset: 'standard' (default), 'kids_easy' (8 colors, large bold shapes), or 'large_print' (10 colors, large readable numbers for seniors/therapy). | |
| prompts | Yes | 2-12 scene descriptions, one per book page. | |
| style_id | No | A style id from list_styles. Default botanical_painterly. | |
| page_size | No | Paper size: 'letter' (default), 'a4', or 'kdp_8.5x11'. | |
| book_title | Yes | Title printed on the cover page. | |
| include_answer_key | No | Include color answer key at the back. Default true. |