PuzzleTide
v0.2.1Word search, crossword, and sudoku generators, printable PDF worksheets, and verifiable LLM evals.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
eval_check eval check
Grades a JSON answers file against a tasks file produced by eval generate. Verification is by construction: sudoku answers must satisfy sudoku rules and preserve the givens; word search answers must spell the word along a straight line in the grid. Outputs per-task results and a score summary.
| Parameter | Type | Description |
|---|---|---|
answers | string | number | JSON array of {id, answer} (required) |
tasks | string | number | Tasks JSON from eval generate (required) |
eval_generate eval generate
Emits a JSON array of puzzle tasks with objectively checkable answers. Types: sudoku (unique-solution puzzles; answers verified against sudoku rules + givens) and wordsearch (answers verified against the grid letters). Deterministic with --seed, so a (seed, type, difficulty, n) tuple names a reproducible benchmark set.
| Parameter | Type | Description |
|---|---|---|
difficulty | string | number | sudoku: easy|medium|hard|expert; wordsearch: easy|medium|hard (default: medium) |
n | string | number | Number of tasks (default: 10) |
out | string | number | Write tasks JSON to a file instead of stdout |
seed | string | number | Seed for a reproducible task set (default: 1) |
type | string | number | Task type: sudoku or wordsearch (default: sudoku) |
play_daily play daily
Prints a daily sudoku (medium difficulty) that is the same for everyone on the same UTC calendar day. Solve more puzzles at puzzletide.com.
puzzle_crossword_generate crossword generate
Builds an interlocking crossword grid with standard numbering. Words come from --words "WORD: clue; WORD2: clue2", --file (JSON [{word,clue}] or "WORD: clue" lines), or --theme (clues are auto-generated puzzle-style hints). Words that cannot interlock are reported as unplaced. Deterministic with --seed. Online version: https://puzzletide.com/crossword
| Parameter | Type | Description |
|---|---|---|
count | string | number | Number of words to use from the theme/file (default: 10) |
file | string | number | JSON array of {word, clue} or "WORD: clue" lines |
paper | string | number | PDF paper size: letter or a4 (default: letter) |
pdf | string | number | Also write a printable PDF worksheet to <file> |
seed | string | number | Seed for reproducible output (number or word) |
size | string | number | Working grid size before trimming (5-25) (default: 15) |
solution | boolean | Print the solution instead of the puzzle |
solutionPage | boolean | Omit the solution page from PDF output — set false to disable |
svg | string | number | Also write an SVG image to <file> |
theme | string | number | Use a bundled word bank theme (auto-generated clues) |
title | string | number | Title used in SVG/PDF output |
words | string | number | Semicolon-separated "WORD: clue" pairs |
puzzle_sudoku_generate sudoku generate
Generates a 9x9 sudoku at easy/medium/hard/expert difficulty. Every puzzle is verified to have exactly one solution. Deterministic with --seed. The canonical string format is 81 characters, row by row, "." for empty cells. Online version: https://puzzletide.com/sudoku
| Parameter | Type | Description |
|---|---|---|
difficulty | string | number | One of: easy, medium, hard, expert (default: medium) |
paper | string | number | PDF paper size: letter or a4 (default: letter) |
pdf | string | number | Also write a printable PDF worksheet to <file> |
seed | string | number | Seed for reproducible output (number or word) |
solution | boolean | Print the solution instead of the puzzle |
solutionPage | boolean | Omit the solution page from PDF output — set false to disable |
svg | string | number | Also write an SVG image to <file> |
title | string | number | Title used in SVG/PDF output |
puzzle_sudoku_solve sudoku solve
Solves a 9x9 sudoku via backtracking. Input: 81 characters row by row with 1-9 for givens and 0/./_ for empty cells (whitespace and separators are ignored), passed inline, via --file, or on stdin. Reports whether the solution is unique. Online version: https://puzzletide.com/sudoku
| Parameter | Type | Description |
|---|---|---|
file | string | number | Read the grid from a file |
grid | string | 81-character puzzle string (or "-" for stdin) |
puzzle_sudoku_validate sudoku validate
Checks a 9x9 sudoku grid for well-formedness, conflicting givens, solvability, and whether the solution is unique (a proper sudoku has exactly one). Same input formats as sudoku solve. Online version: https://puzzletide.com/sudoku
| Parameter | Type | Description |
|---|---|---|
file | string | number | Read the grid from a file |
grid | string | 81-character puzzle string (or "-" for stdin) |
puzzle_wordsearch_generate wordsearch generate
Places every word in a letter grid (8 possible directions, difficulty presets) and fills the rest with random letters. Deterministic with --seed. Words come from --words, --file (one per line), or --theme (bundled PuzzleTide word banks). Output: text grid, --json structured data, --svg image, or --pdf printable worksheet with solution page. Online version: https://puzzletide.com/word-search
| Parameter | Type | Description |
|---|---|---|
cols | string | number | Grid columns (overrides --size) |
count | string | number | Number of words to use from the theme/file (default: 12) |
difficulty | string | number | Direction preset: easy (E,S), medium (+diagonals), hard (all 8) (default: medium) |
directions | string | number | Explicit directions (comma-separated from: N,NE,E,SE,S,SW,W,NW) |
file | string | number | Read words from a file (one per line or comma-separated) |
paper | string | number | PDF paper size: letter or a4 (default: letter) |
pdf | string | number | Also write a printable PDF worksheet to <file> |
rows | string | number | Grid rows (overrides --size) |
seed | string | number | Seed for reproducible output (number or word) |
size | string | number | Square grid size (6-30); computed from words if omitted |
solution | boolean | Print the solution instead of the puzzle |
solutionPage | boolean | Omit the solution page from PDF output — set false to disable |
svg | string | number | Also write an SVG image to <file> |
theme | string | number | Use a bundled word bank theme (see: ptide words themes) |
title | string | number | Title used in SVG/PDF output |
words | string | number | Comma-separated words, e.g. "cat,dog,fish" |
words_anagram words anagram
Finds single-word anagrams of the given letters within the bundled word bank sample.
| Parameter | Type | Description |
|---|---|---|
letters * | string | Letters to rearrange |
limit | string | number | Maximum results (default: 50) |
words_categories words categories
Lists the bundled PuzzleTide word bank categories (animals, geography, holidays, ...) with their theme counts.
words_list words list
Prints the words of one bundled theme, optionally filtered by length, shuffled by --seed, and limited by --count. Useful as input for generators or other tools.
| Parameter | Type | Description |
|---|---|---|
theme * | string | Theme id, e.g. animals/ocean-animals |
count | string | number | Maximum number of words |
maxLength | string | number | Maximum word length |
minLength | string | number | Minimum word length |
seed | string | number | Shuffle deterministically before applying --count |
words_match words match
Matches the bundled word bank sample against a pattern where "_" or "?" is any letter, e.g. "c_r_l" matches CORAL. Helpful when stuck on a crossword or word puzzle.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Pattern with _ or ? wildcards |
limit | string | number | Maximum results (default: 50) |
words_random words random
Picks a random word from the bundled word banks — the same pool the hangman game uses. Deterministic with --seed.
| Parameter | Type | Description |
|---|---|---|
minLength | string | number | Minimum word length (default: 4) |
seed | string | number | Seed for reproducible output |
theme | string | number | Restrict to one theme |
words_stats words stats
Prints the size of the bundled word bank: categories, themes, unique words.
words_themes words themes
Lists the bundled starter themes (30 generic word lists; the full curated collection is at puzzletide.com). Filter by --category or full-text --search. Theme ids look like "animals/ocean-animals".
| Parameter | Type | Description |
|---|---|---|
category | string | number | Only themes in this category |
limit | string | number | Maximum results (default: 50) |
search | string | number | Full-text search over id, title, and description |