Lichess daily puzzle
puzzle_of_the_dayRetrieves today's Lichess daily puzzle with position, side to move, rating, themes, and source game. Hides solution unless reveal_solution=true so players can try first.
Instructions
Today's Lichess daily puzzle: position (FEN), side to move, rating, themes and the source game. The solution stays hidden unless reveal_solution=true, so a coach can let the player try first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reveal_solution | No | Include the solution moves. Leave false to coach: let the player try first, then call again with true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| fen | Yes | The position the solver faces (after the opponent's last move). | |
| url | Yes | ||
| hint | No | A small nudge (which piece moves first) for when the player is stuck. Present only while the solution is hidden. | |
| plays | Yes | ||
| rating | Yes | ||
| themes | Yes | Lichess theme tags, e.g. "fork", "mateIn2", "endgame". | |
| message | Yes | ||
| solution | No | Full forced line, solver and opponent moves alternating. Only present when reveal_solution is true. | |
| last_move | No | The opponent's move that set up the puzzle. | |
| source_game | Yes | ||
| solver_color | Yes | ||
| solver_moves | Yes | How many moves the solver must find. | |
| solution_revealed | Yes |