Analyze Chess Position
position_analyzeAnalyze any chess position with Stockfish, returning top engine lines, scores, and win/draw/loss probabilities. Get deep insights without altering the game.
Instructions
Run Stockfish on the current position and return the top engine lines (multipv). Scores are from the side-to-move perspective: positive cp = side to move is better; mate N = side to move mates in N. wdl is [win, draw, loss] in permille for the side to move. Use analysis_level (fast/normal/deep) or explicit depth/multipv. Does NOT mutate the game.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| game_id | Yes | ||
| multipv | No | ||
| analysis_level | No | normal |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fen | Yes | ||
| turn | Yes | ||
| lines | Yes | ||
| game_id | Yes | ||
| revision | Yes | ||
| analysis_level | Yes |