Analyze Position
analyze_positionRead a chess position from a FEN and return facts computed by the rules alone: side to move, status (normal, check, checkmate, stalemate or insufficient material), every legal move in SAN, the material count (pawn 1, knight 3, bishop 3, rook 5, queen 9) and the opening name when the position is a catalogued opening. This tool does not evaluate the position and does not choose a best move: the Stockfish engine runs in the user's browser at the returned analysisUrl (full analysis board) and bestMoveUrl (best move finder) on chessigma.com.
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": "analyze_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fen | Yes | The position in FEN. The two move counters may be omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fen | Yes | ||
| status | Yes | ||
| opening | Yes | ||
| material | Yes | ||
| legalMoves | Yes | ||
| sideToMove | Yes | ||
| analysisUrl | Yes | ||
| bestMoveUrl | Yes |