analyse
Evaluate a chess position using Stockfish. Returns top candidate moves with centipawn scores or mate distance and principal variations.
Instructions
Short Stockfish evaluation at a position. Returns the top-N candidate moves with score (centipawns from side-to-move POV, positive = advantage; or mate distance) and the principal variation for each. Defaults: 2s think time, top-3 lines. PV moves come back in UCI notation (e2e4, not e4). Use this to sanity-check candidate lines from get_position_stats or get_player_preparation — human game frequency tells you what people play, engine evaluation tells you what's actually good.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fen | Yes | FEN of the position to analyse. | |
| multipv | No | Number of candidate lines to return (default 3). | |
| movetime_ms | No | Think time in milliseconds (default 2000). |