Make a paint-by-number puzzle
generate_puzzleCreates a paint-by-number puzzle from a text prompt. Supports optional Immersive 2.5D depth mode, material finishes (oil, watercolor, stained glass, mosaic, embroidery, woodblock, paper-cut, diamond), and accessibility presets ('kids_easy', 'large_print'). Spends the account's PaintLoom credits (1-3 per puzzle, matching app pricing). Returns immediately with status 'generating', a puzzle id, and paint_url; poll get_puzzle until 'ready'.
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": {
"prompt": "<prompt>"
},
"name": "generate_puzzle"
}
}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). | |
| prompt | Yes | What to paint, up to 500 characters. | |
| style_id | No | A style id from list_styles. Default botanical_painterly. | |
| immersive | No | When true, also builds a 2.5D Walk-in Immersive depth version at no extra credit cost (scenes without depth succeed cleanly in Flat mode). | |
| finish_style | No | Optional material finish (e.g. flat, impasto, watercolor, stained_glass, mosaic, embroidery, cloisonne, woodblock, papercut, diamond, photo). Default flat. |