export_game
Export chess games from Lichess in PGN or JSON format with customizable options for moves, analysis, tags, and annotations.
Instructions
Export one game in PGN or JSON format
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": {
"gameId": "<gameId>"
},
"name": "export_game"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gameId | Yes | The game ID | |
| moves | No | Include the PGN moves | |
| pgnInJson | No | Include the full PGN within the JSON response | |
| tags | No | Include the PGN tags | |
| clocks | No | Include clock comments in the PGN moves | |
| evals | No | Include analysis evaluation comments | |
| accuracy | No | Include accuracy percentages | |
| opening | No | Include opening name | |
| literate | No | Include textual annotations |