Lichess: Endgame Tablebase
lichess_tablebaseLook up endgame positions with up to seven pieces to get win/draw/loss, distance-to-zeroing, distance-to-mate, and recommended moves for standard, atomic, and antichess variants.
Instructions
Look up an endgame position (up to 7 pieces) in the Lichess tablebase. Returns the position's result (win/draw/loss), distance-to-zeroing (DTZ) and distance-to-mate (DTM), and the best moves. variant: standard, atomic, or antichess.
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": {
"variant": "<variant>",
"fen": "<fen>"
},
"name": "lichess_tablebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fen | Yes | FEN of the endgame position to look up | |
| variant | Yes | Tablebase variant |