lichess_swiss_trf
Export a Lichess Swiss tournament by ID as a FIDE TRF file, returning tournament headers, player ratings, points, and per-round results plus the line count.
Instructions
Export a Lichess Swiss tournament as a TRF file. Returns the Tournament Report File (FIDE TRF) of a Swiss tournament by ID: the tournament header lines and one line per player with rating, points and per-round results. The response carries the TRF text and its line count. 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": {
"id": "<id>"
},
"name": "lichess_swiss_trf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Eight-character Swiss tournament ID |