lichess_puzzle_batch
Fetch a batch of Lichess puzzles by theme or angle, filtered by difficulty, side to move, and count, to get playable puzzles with source game and player metadata.
Instructions
Get a Lichess puzzle batch by theme. Returns puzzles selected by an open-ended source theme/angle. Difficulty is easiest, easier, normal, harder, or hardest; color is white or black; nb is 1 through 50, default 15. The response may be an array. Each puzzle keeps its source game ID, player names, account IDs and PGN headers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"angle": "<angle>"
},
"name": "lichess_puzzle_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nb | No | Number of puzzles, 1 through 50 (default 15) | |
| angle | Yes | Open-ended upstream puzzle theme | |
| color | No | Optional side to move | |
| difficulty | No | Optional source difficulty |