get_game_state
Retrieves current position, legal moves, material, attacked pieces, clock estimate and think budget for a Lichess game so an MCP client can decide its next move.
Instructions
Get current FEN, pieces by square, material, attacked own pieces, legal UCI/SAN moves, ply and clock estimate and think budget. Compact omits full move history and ASCII; full includes them. Attacks are geometric, not necessarily legal captures.
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": {
"game_id": "<game_id>"
},
"name": "get_game_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | compact | |
| game_id | Yes |