lichess_study_pgn
Export every chapter of a public Lichess study as PGN, with study and chapter names, annotator and opening tags, plus optional clocks, comments, variations and orientation.
Instructions
Export all chapters of a public Lichess study as PGN. Returns every chapter of a public study as PGN with the study and chapter names, annotator and opening tags, bounded by the shared response size cap, plus the chapter count. clocks, comments, variations and orientation choose what the PGN includes. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.
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": {
"studyId": "<studyId>"
},
"name": "lichess_study_pgn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clocks | No | Include [%clk] clock comments; source default true | |
| studyId | Yes | Eight-character study ID | |
| comments | No | Include analysis and annotator comments; source default true | |
| variations | No | Include non-mainline moves; source default true | |
| orientation | No | Add an Orientation tag with each chapter's orientation; source default false |