Get the engine evaluation of a position
get_cloud_evalRetrieve Stockfish evaluations and best lines for a chess position from Lichess's cloud database; scores use White's perspective. Use only for analyzed positions, as unknown positions return an error.
Instructions
Stockfish evaluation of a position from the Lichess cloud database, with the best line or lines. Scores are always from White's point of view: positive favours White, negative favours Black. Only positions that someone has analysed on Lichess are stored, mostly openings and well-known positions; an unknown position returns an error and is not worth retrying.
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": {
"fen": "<fen>"
},
"name": "get_cloud_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fen | Yes | Position in FEN, for example "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1". Use "startpos" for the initial position. | |
| lines | No | How many best lines to return, 1 to 5. |