lichess_study_pgn
Get every chapter of a public Lichess study as PGN by study ID, with the chapter count and optional clocks, comments, variations and orientation tags.
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 | Optional; include [%clk] clock comments (source default true). | |
| studyId | Yes | Required eight-character Lichess study ID. | |
| comments | No | Optional; include analysis and annotator comments (source default true). | |
| variations | No | Optional; include non-mainline moves (source default true). | |
| orientation | No | Optional; add an Orientation tag with each chapter's orientation (source default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |