play_puzzle
Open and solve interactive Lichess chess puzzles in Claude Desktop, with move validation and automatic opponent replies; start with the daily puzzle, pick a specific one, or run a rated batch.
Instructions
Open an interactive chess puzzle in Claude Desktop. Drag pieces to solve; the UI validates each move against the Lichess solution and auto-plays the opponent's reply. Default: today's daily puzzle. Use {next:true} for an unseen puzzle, {puzzleId} for a specific one, or {rated:true, nb:N, angle:'mix'} to start a RATED batch session that updates your Lichess puzzle rating when completed.
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": "play_puzzle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nb | No | Number of puzzles in the rated batch (default: 10, max 50). | |
| next | No | Fetch a fresh non-daily puzzle (Lichess /puzzle/next). Used by the iframe's Next button. | |
| angle | No | Theme/angle for the batch (default: 'mix'). Only used in rated mode. | |
| color | No | Force playing as a single color (only honored when nb=1). | |
| rated | No | Start a rated batch session. The iframe walks through `nb` puzzles, then submits the results to /puzzle/batch/{angle} so they affect your Lichess rating. Requires the puzzle:write OAuth scope. | |
| puzzleId | No | Lichess puzzle id. | |
| difficulty | No | Difficulty band relative to the user's current rating (rated mode only). |