Cloud engine evaluation of a position
evaluate_positionFetch Lichess cloud engine evaluation for a chess position (FEN): score, best move, and SAN principal line up to 3 candidates; returns available=false if uncached.
Instructions
Get the engine evaluation of a chess position (FEN) from Lichess's cloud cache: score, best move and principal line in SAN, for up to 3 candidate moves. If the position isn't cached, it returns available=false rather than a guess.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fen | Yes | Position in FEN, e.g. "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1". Move counters may be omitted. | |
| multi_pv | No | How many candidate lines (1-3). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fen | Yes | ||
| depth | No | ||
| lines | Yes | ||
| knodes | No | Thousands of nodes searched. | |
| source | No | ||
| message | Yes | ||
| available | Yes | False when Lichess has no cached cloud evaluation for this position. | |
| side_to_move | Yes |