Narrow down a word guess
solve_word_guessRead-onlyIdempotent
Use this when the user plays a 5-letter word guessing game with green/yellow/gray feedback and wants the remaining possible answers or a strong next guess (word game solver, guess helper). Takes previous guesses with their color feedback (G/Y/-), applies the standard repeated-letter rules, counts the words still possible and lists up to 60 of them, and ranks next guesses by expected information. Supports 4-8 letter variants and hard mode. Does not know today's answer and does not play the game. Do not use for unscrambling letters or crossword patterns.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guesses | No | Guesses made so far with their color feedback, in order, e.g. [{"word":"CRANE","feedback":"-Y--G"}]. Leave empty for a suggested opening guess. | |
| hard_mode | No | true if every next guess must use all revealed clues (hard mode); then only words that could still be the answer are suggested. | |
| word_length | No | Letters in the hidden word, e.g. 5 (default: length of the guesses, else 5). |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| more | Yes | ||
| note | Yes | ||
| clues | Yes | ||
| total | Yes | ||
| solved | Yes | ||
| guesses | Yes | ||
| candidates | Yes | ||
| word_length | Yes | ||
| best_guesses | Yes | ||
| common_total | Yes | ||
| guesses_scored | Yes | ||
| scored_against | Yes |