Generate printable nonograms
generate_nonogramsUse this when the user wants printable nonogram puzzles (griddlers, hanjie, paint by numbers logic puzzles, pixel puzzles) as a PDF with an answer key: "make a nonogram", "nonogram generator", "turn this pixel art into a nonogram", "printable nonograms for my class". Put one object per puzzle in puzzles[]: shape (a built-in picture such as heart, cat, rocket), text (a word up to 8 letters), grid (the user's own rows, # filled, . empty, up to 25 x 25), or difficulty/size for a random grid; for a set of random puzzles use count with difficulty. A line solver checks that each puzzle has one solution; when a picture's clues allow several, fix decides: hints (default, print starter cells), change (flip a few cells) or refuse (error listing the unclear rows). Layout: per_page 1, 2 or 4, Letter or A4, title, name line, answer pages. Does not make colour nonograms, read photos or image files, or solve a puzzle from a photo.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_nonograms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | For pictures and words whose clues allow more than one solution: hints (default), change or refuse. Example: refuse | |
| grid | No | The user's own picture for a single puzzle, one string per row, # filled, . empty, up to 25 x 25. Example: [".#.#.", "#####", ".###.", "..#.."] | |
| seed | No | Starting seed; puzzle N uses seed + N - 1. Reuse it to reprint the same puzzles. Example: 2026 | |
| size | No | Size of random puzzles, columns x rows, 5 to 25. Example: "10x10" | |
| text | No | A short word to draw as a single puzzle (A-Z, 0-9, up to 8 letters). Example: LOVE | |
| count | No | How many random puzzles when they are all the same kind (1 to 12, default 1). Example: 4 | |
| paper | No | letter (default, US 8.5 x 11 in) or a4. Example: a4 | |
| shape | No | Built-in picture for a single puzzle: heart, star, house, cat, dog, fish, tree, smiley, apple, rocket, umbrella, note, anchor, duck, flower, crown, key, bell, moon, ghost. Example: cat | |
| title | No | Title printed at the top of each page. Example: Friday Logic Puzzles | |
| puzzles | No | One object per puzzle when they differ, e.g. [{"shape":"heart"},{"text":"MOM"},{"grid":[".##.","####",".##."]},{"difficulty":"hard"}]. Leave out and use count for a set of random puzzles. Up to 12. | |
| per_page | No | Puzzles per printed page: 1 (default), 2 or 4. Example: 2 | |
| name_line | No | Print a Name and Date line (default true). Example: false | |
| answer_key | No | Add answer pages with the filled picture (default true). Example: true | |
| difficulty | No | Difficulty of random puzzles: easy, medium (default), hard or expert. Example: hard |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| notes | Yes | ||
| pages | Yes | ||
| paper | Yes | ||
| title | Yes | ||
| puzzles | Yes | ||
| per_page | Yes | ||
| downloads | Yes | ||
| name_line | Yes | ||
| answer_key | Yes | ||
| puzzle_count | No | ||
| all_one_solution | Yes |